wct.webcams.get_details
Get the details of a webcam.
Required Parameters
These parameters are required by this method.
| Parameter |
Description |
| devid |
Your developer ID.
Please signup for a developer ID if you do not already have one.
|
| webcamid |
The ID of the webcam. |
Example Response
<wct_response status="ok">
<webcam>
<user>ingo</user>
<userid>3626</userid>
<user_url>http://www.webcams.travel/user/3626</user_url>
<webcamid>1171032474</webcamid>
<title>Hardbrücke</title>
<view_count>159</view_count>
<comment_count>1</comment_count>
<url>
http://www.webcams.travel/webcam/1171032474-Weather-Hardbr%C3%BCcke-Z%C3%BCrich-%28Kreis-5%29
</url>
<url_mobile>
http://m.webcams.travel/webcam/1171032474-Weather-Hardbr%C3%BCcke-Z%C3%BCrich-%28Kreis-5%29
</url_mobile>
<icon_url>http://images.webcams.travel/icon/1171032474.png</icon_url>
<thumbnail_url>http://images.webcams.travel/thumbnail/1171032474.jpg</thumbnail_url>
<preview_url>http://images.webcams.travel/thumbnail/1171032474.jpg</preview_url>
<daylight_icon_url>
http://archive.webcams.travel/daylight/icon/1171032474.png
</daylight_icon_url>
<daylight_thumbnail_url>
http://archive.webcams.travel/daylight/thumbnail/1171032474.jpg
</daylight_thumbnail_url>
<daylight_preview_url>
http://archive.webcams.travel/daylight/preview/1171032474.jpg
</daylight_preview_url>
<latitude>47.387803</latitude>
<longitude>8.519211</longitude>
<continent>EU</continent>
<country>CH</country>
<city>Zürich</city>
<last_update>1214753604</last_update>
<rating_avg>3.75</rating_avg>
<rating_count>12</rating_count>
<timezone>Europe/Zurich</timezone>
<timezone_offset>1</timezone_offset>
<timelapse>
<available>1</available>
<format_mp4>http://movies.webcams.travel/webcam/1171032474.mp4</format_mp4>
<format_webm>http://movies.webcams.travel/webcam/1171032474.webm</format_webm>
</timelapse>
<source_url>http://www.hardbruecke.ch/webcam_nord1.php</source_url>
</webcam>
</wct_response>
Response Details
| Field |
Description |
| user |
Name of the user who added this webcam. |
| userid |
ID of the user who added this webcam. |
| user_url |
URL to the users account page. |
| webcamid |
Unique ID of this webcam. |
| title |
Title of the webcam. |
| view_count |
Number of views since this webcam has been added to webcams.travel. |
| comment_count |
Number of comments this webcam webcam has. |
| url |
URL to the webcam on webcams.travel. |
| icon_url |
URL to an icon image for this webcam. PNG, 32x32 pixel. |
| thumbnail_url |
URL to a thumbnail image for this webcam. JPG, 128x96 pixel. |
| preview_url |
URL to a preview image for this webcam. JPG, 360 pixel wide, variable height. |
| daylight_icon_url |
URL to an icon image of the last daylight view for this webcam. |
| daylight_thumbnail_url |
URL to a thumbnail image of the last daylight view for this webcam. |
| daylight_preview_url |
URL to a preview image of the last daylight view for this webcam. |
| latitude |
Latitude of the position of this webcam. WGS84. |
| longitude |
Longitude of the position of this webcam. WGS84. |
| continent |
2-letter continent code of the webcam location. |
| country |
ISO 3166-1-alpha-2 country code of the webcam location. |
| city |
Name of the city the webcam is located at. |
| last_update |
UNIX timestamp of the last update of the webcam image. |
| rating_avg |
Average rating for this webcam. Values from 0 to 5. |
| rating_count |
Number of ratings for this webcam. |
| timezone |
Textual reprensentation of the timezone the webcam is located in. |
| timezone_offset |
Offset in hours relative to UTC. Positive and negative values possible. |
| timelapse |
Availability of a timelapse video. The "available" field is always present. The
"format_*" fields are only present if a timelapse video is available.
| Field |
Description |
| available |
Indicates if a timelapse video is available. Values 0 (not available) or 1 (available). |
| format_mp4 |
URL of timelapse video in MP4 format. Suitable for HTML5 and mobile device playback. |
| format_flv |
URL of timelapse video in FLV format. Suitable for Flash playback. |
| format_ogg |
URL of timelapse video in OGG format. Suitable for HTML5 playback. |
| format_webm |
URL of timelapse video in WEBM format. Suitable for HTML5 playback. |
|
| source_url |
URL of the homepage of the webcam. |
Error Codes
This method may return an additional error that is specific to only this method.
| Code |
Description |
| 100 |
The webcam with the webcamid you provided does not exist. |
Errors common to all methods are listed on the
API common error page.
Back to the API index page
Webcam search