As of January 2020 GLTG has 32,122,836 datapoints.
Please don't fetch all of them at once. Status colour Red title Warning
Table of Contents |
---|
Step 1: Create an Account
...
Code Block | ||
---|---|---|
| ||
curl -X GET --compressed https://greatlakestogulf.org/geostreams/api/sensors |
Authenticate
task | curl | inputs | instructions | returns |
---|---|---|---|---|
authenticate | curl -X POST -H 'Content-Type: application/json' -d '{"password": "****", "identifier": "email"}' --compressed -i https://greatlakestogulf.org/geostreams/api/authenticate |
| In the response will be X-Auth-Token: followed by the alphanumeric security token | X-Auth-Token |
get all datapoints for a single sensor | curl -X GET -H 'Content-Encoding: application/json' -H 'x-auth-token:token' --compressed 'https://greatlakestogulf.org/geostreams/api/datapoints?sensor_id=22&since=2018-06-01' |
| Use X-Auth-Token from authentication | json |
...