Use the API

For Developers

HydroShare has a public RESTful web-service Application Programming Interface (API). This has been developed with the intent of enabling many of the functions that are accessible through the web user interface, to be done programmatically.  The API follows OpenAPI standards and is documented at https://www.hydroshare.org/hsapi/

Hsclient is a package that allows users to access and make changes to resources in HydroShare. Users can use it to change metadata, change access levels, and download and upload files. More documentation is available on hsclient at https://hydroshare.github.io/hsclient/ 

There is an example Jupyter Notebook that can run on CUAHSI HydroShare that illustrates use of the Python client.

HydroShare Python Client Library (hsclient) Usage Examples