YouTube Video Search API
If you are using Camideo Video Search API to search video and song from YouTube, then can add all the filters supported by YouTube to narrow down your search. You will be getting a uniform JSON response from us.
You can easily make calls to our YouTube Video Search API by simply calling this url:
http://api.camideo.com/?key=<API KEY> &q=chocolate&source=youtube&page=1&response=jsonHowever, this is a generic call and not using any search filter. For more information on how to get the key and generic call input parameters and uniform JSON response please read our Camideo Video Search API documentation.
Below table describes the additional YouTube search filters we accept:
|orderby||Sorts the result in this order||relevance, published, viewCount or rating|
|max-results||Number of search results||1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20 or 25|
|start-index||Staring index of the search result||Numeric value|
|author||Videos from this author will be omitted in the search result||author name|
|format||Output format of the video||1 (H.263 video for mobile), 5 (flash video) or 6 (MPEG-4 SP video for mobile)|
|lr||Restricts your keywords to a specific language||ISO 639-1 two-letter language codes|
|racy||This will include or exclude restricted content from search result||include or exclude|
|restriction||Automatically filter out videos that are not playable from a specific IP address. Better if you use your own IP address.||To request videos that are playable in a specific country, include the restriction parameter in your request and set the parameter value to the ISO 3166 two-letter country code of the country where the videos will be played such as 'de' to show only videos that are playable in Germany. You can also enter an IP address of a machine located in the country that the video is to be played.|
So a fully filtered call may look like this
http://api.camideo.com/?key=<API KEY> &q=chocolate&source=youtube&page=1&response=json &orderby=viewCount&max-results=10&start-index=1&author=author_name &format=5&lr=2_letter_iso639-2_code&racy=exclude &restriction=your_ip_address