method-videos-getDetailsByUrl
Last edited: January 27th, 2009 by Colin DevroeDisplays the details for a video.
Note: ALL arguments are required.
Authenication
Authentication is optional. After authenticating and using sessionid parameter, you may ask about your private data using this method. Asking about private data without authentication will result with returning empty data set or an error.
Arguments
- method
- Should be set to “Viddler.videos.getDetailsByUrl”
- api_key
- Assigned Viddler API Key
- sessionid (optional)
- Current session in generated by calling viddler.users.auth method
- url
- Complete viddler video URL
Example Call
http://api.viddler.com/rest/v1/?method=viddler.videos.getDetailsByUrl&api_key=0113de80f261245542145422f4ffffc27a&url=http://www.viddler.com/explore/username/videos/10/
Example Response
Response is the as in viddler.videos.getDetails method.
Error Codes
Standard error codes plus:
| Error # | Description |
|---|---|
| 2 | Bad argument format. |
| 100 | Video could not be found. |