OceanNetworksCanada / api-python-client

Provides easy access to ONC data in Python
https://oceannetworkscanada.github.io/api-python-client/
Apache License 2.0
10 stars 9 forks source link

Issue 33 add helper get xxx method #35

Closed kan-fu closed 5 months ago

kan-fu commented 6 months ago

Fix #33 DMAS-79712

This PR contains two tasks: add helper method to combine ByDevice and ByLocation, and rename methods to match the api endpoint.

There are still some documentation tasks left for the methods renaming (Readme, Tutorial, Code examples). I will do it after this release when I work on changing the names from camelCase to snake_case (so no duplicate work).

Also no tests were added for the new getXXX methods. Plan to work on it when fixing #31

Added one additional commit for discouraging users from using multiprocessing library. It is out of scope of this PR, but it is a recent issue that caused us some trouble on the server side.