wct.webcams.list_by_country
Get the webcams in a given country.
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. |
| country | The country to restrict the listing to. Possible values are ISO 3166-1-alpha-2 codes. |
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> [See wct.webcams.get_details for details of the response fields.] </webcam> ... </webcams> </wct_response>
Error Codes
Errors common to all methods are listed on the API common error page.Back to the API index page

