wct.webcams.list_by_user
Get the webcams of an user.
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.
|
| userid |
The ID of the user. |
Optional Parameters
These parameters are optional for this method.
| Parameter |
Default |
Description |
| per_page |
10 |
Number of webcams to return per page. The maximum allowed value is 50. |
| page |
1 |
The page of results to return. |
Example Response
<wct_response status="ok">
<webcams>
<count>4</count>
<page>1</page>
<per_page>10</per_page>
<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</url>
<thumbnail_url>http://images.webcams.travel/thumbnail/1171032474.jpg</thumbnail_url>
<icon_url>http://images.webcams.travel/icon/1171032474.png</icon_url>
<daylight_thumbnail_url
>http://archive.webcams.travel/daylight/thumbnail/1171032474.jpg
</daylight_thumbnail_url>
<daylight_icon_url>
http://archive.webcams.travel/daylight/icon/1171032474.png
</daylight_icon_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>
</webcam>
...
</webcams>
</wct_response>
Error Codes
This method may return an additional error that is specific to only this method.
| Code |
Description |
| 101 |
The user with the userid you provided does not exist. |
Errors common to all methods are listed on the
API common error page.
Back to the API index page
Ricerca webcam