Google Video Query String Parameters

Google Video is no longer a supported Google product, but it’s videos can still be edited by changing their query string parameters.

Query

Translation

alt= The “alt” parameter specifies the format of the feed to be returned. Valid values for this parameter are atom, rss, json and json-in-script. The default value is atom and this document only explains the format of Atom responses.
author= In a search request, the “author” parameter restricts the search to videos uploaded by a particular Google Video user. Note that if you use this parameter when requesting a standard feed, then Google Video will retrieve the standard feed and then filter the response to only include videos uploaded by the specified author. For example, if you request the “Top Rated” feed for user GoogleDevelopers, the API will retrieve the top-rated feed and return a response containing videos in that feed uploaded by user GoogleDevelopers. The API will not return a list of that user’s videos ordered by rating.In a request for a user activity feed, the author parameter contains a comma-separated list of up to 20 Google Video usernames. The API response will contain activities performed by any of those users.
max-results= The max-results parameter specifies the maximum number of results that should be included in the result set. This parameter works in conjunction with the start-index parameter to determine which results to return. For example, to request the second set of 10 results – i.e. results 11-20 – set the max-results parameter to 10 and the start-index parameter to 11. The default value of this parameter is 25, and the maximum value is 50. However, for displaying lists of videos, we recommend that you set the max-results parameter to 10.
start-index= The start-index parameter specifies the index of the first matching result that should be included in the result set. This parameter uses a one-based index, meaning the first result is 1, the second result is 2 and so forth. This parameter works in conjunction with the max-results parameter to determine which results to return. For example, to request the second set of 10 results – i.e. results 11-20 – set the start-index parameter to 11 and the max-results parameter to 10.
strict= The “strict” parameter can be used to instruct Google Video to reject an API request if the request contains invalid request parameters. The default API behavior is to ignore invalid request parameters. If you want Google Video to reject API requests that contain invalid parameters, set the strict parameter value to true. For example, Google Video would reject the following request because “foo” is not a valid request parameter.
v= The “v” parameter specifies the version of the API that Google Video should use to handle the API request. Your request can specify the desired API version using either the v parameter or the GData-Version HTTP request header. All Google-provided client libraries always select a major API version. If your request does not specify an API version, Google Video will handle your request using API version 1. Please see the API versioning section for more information about specifying an API version.
q= The “q” parameter specifies a search query term. Google Video will search all video metadata for videos matching the term. Video metadata includes titles, keywords, descriptions, authors’ usernames, and categories.
time= The “time” parameter restricts the search to videos uploaded within the specified time. Valid values for this parameter are today (1 day), this_week (7 days), this_month (1 month) and all_time. The default value for this parameter is all_time.This parameter is supported for search feeds as well as for the top_rated, top_favorites, most_viewed, most_popular, most_discussed and most_responded standard feeds.
tab= “tab” stands for ?.
docid= “docid” stands for the document ID number.

Check out Standard Google Data API parameters for more information about how to use Google Video query string parameters with Google’s API.

Posted

in

by