Webcam API
Gets the nearest location with webcams for a searched location. If no location has been set it will get all webcams in the Simcoe Weather Forecast area.
e.g.
http://developer.simcoe-weather.com/api/?method=simcoeweather.webcam.get...
Parameters
Required
method
The method to call this particular method
Optional
location
The location you are searching the nearest webcam from (within south-central Ontario)
format
The desired response format, which can be either "XML", "KML" or "JSON". (Default value is XML.)
callback
Name of a function to call. This is primarily to enable cross-domain javascript requests using the <script> tag, sometimes known as "JSONP". This works only when the parameter "format" is set to "JSON"
Sample Response
<sw status="ok">
<webcam>
<cam>
<name>City of Barrie</name>
<url>http://www.barrie.ca/Content2.cfm?C=4150&SC=1&SCM=0&MI=1226&L1M=38</url>
</cam>
</webcam>
</sw>
Errors
40: Invalid Method - You have entered an incorrect API method.
50: To many requests per day - You have accessed this API to many times during a 1 hour period.