The Storm Glass Marine Weather API allows fetching forecasts for any coordinate using conventional HTTP requests. When a request is successful, a response will be sent back in the form of a JSON object. API Key is required to authenticate.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
The Stormglass Historical Data Curl Sample Code demonstrates how to access historical data set the start and end query parameters to the dates to query. The maximum length of the response will be 10 days from start.