Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleGet all Sensors
curl -X GET --compressed https://greatlakestogulf.org/geostreams/api/sensors


Authenticate

InputsOutputDetails
  • url
  • email
  • password
X-Auth-TokenUse the token for fetching datapoints


Code Block
titleAuthenticate
curl -X POST -H 'Content-Type: application/json' -d '{"password": "****", "identifier": "email"}' --compressed -i https://greatlakestogulf.org/geostreams/api/authenticate

...

<< need to have instruction how to get pyGeotemporal >>




Jupyter Notebook 

Jupyter notebook example can be download here <link>

Jupyter Notebook << please delete this section; we don't need to tell them how to use jupyter notebook

We have created a jupyter notebook that allows a user to run several common data fetching methods including get sensors as CSV  and get datapoints in CSV or JSON.

Install Jupyter

Code Block
languagepy
titleConda
conda install -c conda-forge notebook

Or

Code Block
languagepy
titlePIP
pip install notebook

Download and Run Notebook

Download this file geostreams_jupyter.ipynb, move it in a directory of your choice, from a terminal in the chosen directory .  

...

titleRun Jupyter

...