The metadata sometimes proves to be very useful for a geo-spatial designer. HydroShare has a way of displaying this specific type of metadata. The metadata provides a lot of information like the spatial coverage of a shapefile, the units used, projection of the file and so on.
Our demonstration code here is comprised of two steps. Step 1 will query the resource and generate a list of files available therein. Step 2 will actually display the metadata of the selected file.
To try this on your own, you can use the code snippet below, or download the full javascript file that is used in this demonstration
from hs_restclient import HydroShare, HydroShareAuthBasic
auth = HydroShareAuthBasic(username='myusername', password='mypassword')
hs = HydroShare(auth=auth)
science_metadata_json = hs.getScienceMetadata('ID OF RESOURCE GOES HERE')