wct.users.list_favorite_webcams
Get the favorite 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>21</count>
<page>1</page>
<per_page>10</per_page>
<webcam>
<user>user_189</user>
<userid>3643</userid>
<user_url>http://www.webcams.travel/user/3643</user_url>
<webcamid>1010218306</webcamid>
<title>Zermatt Gornergrat, Matterhorn</title>
<view_count>282</view_count>
<comment_count>0</comment_count>
<url>http://www.webcams.travel/webcam/1010218306</url>
<thumbnail_url>http://images.webcams.travel/thumbnail/1010218306.jpg</thumbnail_url>
<icon_url>http://images.webcams.travel/icon/1010218306.png</icon_url>
<daylight_thumbnail_url>
http://archive.webcams.travel/daylight/thumbnail/1010218306.jpg
</daylight_thumbnail_url>
<daylight_icon_url>
http://archive.webcams.travel/daylight/icon/1010218306.png
</daylight_icon_url>
<latitude>45.983365</latitude>
<longitude>7.783728</longitude>
<rating_avg>5.00</rating_avg>
<rating_count>2</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