retrieve category for specific vimeo video - vimeo

I believe that a vimeo video is added to a category - determined by vimeo through some intelligent algorithm. The vimeo.videos.getInfo method does not seem to provide the category. Is it possible, through an api call, to retrieve that category to which a specific vimeo video has been added?

/categories/[id]/videos/[id] is a pattern that the Vimeo API often uses for checking whether something exists in something else. Unfortunately it is not currently supported in the API.
I'll make a note to add it in the future.

Related

Add allowed embedding site to all Vimeo videos

I need to add a domain to the list of allowed places to embed videos. I can do this for all future uploads in my settings. I can do this for existing videos, one by one, using the interface below:
The issue is that there are hundreds of videos. Is there any way to add an allowed domain to all existing videos?
Yes, you need add the domains in https://vimeo.com/settings/videos/upload_defaults
See screenshot:

API to get URL to currently active live stream

I am trying to embed a Vimeo livestream in a static website that is behind corporate authentication. For that we upgraded our Vimeo account to be able to use live streaming and the domain-level privacy setting.
Now, I don't see any API to get the currently active live stream, only https://api.vimeo.com/me/videos?fields=files which I could then filter for the hls type and get the playlist link to then feed the ID from it into a form of https://vimeo.com/api/oembed.json?url={video_url} to get the embed content.
Is there an easier way to do this? Will it even work?
Looks like it might be possible using a recurring event https://vimeo.zendesk.com/hc/en-us/articles/360002114347-Recurring-events
No, the Vimeo API doesn't currently support interactions with Vimeo Live or Live events. The API can generally only interact with completed and archived Live events.

Majority of last.fm artist images missing (echonest api)

The Echonest API has in its index mostly artist images from Last.FM which recently pulled the plug on their images rendering the entire echonest api basically useless. Has anyone found a workaround?
https://getsatisfaction.com/lastfm/topics/fetching-images-from-last-fm
Well here's a workaround. I posted this on the getsatisfaction link you provided:
You can check to see if the echonest images are coming from the old, broken server (they begin with http://userserve-ak.last.fm) and cancel those out. If no more echonest images exist, you can try to get one using the Last.fm API as a fallback.
As far as albums go, there must be another substantial API out there for use as a fallback.
Has anyone looked into discogs or beatport? Both of those work with Echonest ID spaces.
They didn't pull the plug, it's just that URL of images changed (probably along with their new website), it's not http://userserve-ak.last.fm/serve/252/xxxxxxxx.jpg anymore but http://img2-ak.lst.fm/i/u/300x300/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.png.
The Echonest cached this info, so now they have to update it... and it takes time. You can either wait or use Lastfm's API to retrieve images yourself ;)

Search my videos by Tag

I can't find specification about search my videos.
I'm creating API calls to vimeo for one client, and I need to search videos by tag, or tags.
I've tried this
https://api.vimeo.com/me/videos?access_token=xxxx&tags=xxxx
and
https://api.vimeo.com/me/videos?access_token=xxxx&tag=xxxx
and I always receive full list of videos.
Follow the API.
https://developer.vimeo.com/api/endpoints/tags#/{word}/videos

"Anonymous" Youtube Playlists

Is there a way to embed a playlist of youtube videos in HTML by listing the youtube videos in the embed code, rather than defining a playlist in my youtube account?
This is quit simple
Just use the embed code (iframe or object code) and a parameter to the url
After playlist= you add the youtube id's comma seperated
Here an example
http://www.youtube.com/v/uG53Ce5_dI0?version=3&playlist=YW8p8JO2hQw,UouwabEZy2E,IXJ9uiT4nEM,bRcdlZ87GVY,IA96yoK9l7M,ZEU4rugs-74
I think you will find that this isn't possible with the YouTube API (I may be incorrect here), but I have been unable to find anything of the sort on the internet.
Also, everything I found which related to YouTube play-list embedding required you to login beforehand.
Update:
I found this: http://www.php-help.ro/mootools-12-javascript-examples/youtube-player-embed-with-attached-playlist/
Which uses MooTools to grab a playlist for a certain user.
Hope that helps!
And the demo: http://php-help.ro/examples/youtube_player_mootools/