HydroShare has a python api for adding metadata information to an author who is the chief contributor of the resource. Metadata helps with the user to know more about the Authors of the resource.

The way you could go about performing this function is by following the instructions below:

Step 1: Sign into HydroShare using your credentials

In the boxes below you enter your HydroShare username and its password. If you have to make an HydroShare account, click here.

Step 2: Enter the name of the Author or Chief contributor to the resource.

Now enter the names of the Co-Authors of the resource

The resource Id is a unique identifier for every resource on Hydroshare. You can findit by browsing to your HydroShare resource copying the ID from the URL. Like for example, this is an example hyperlink from which the 32 letter combination at the end is called the resource id. And so the resource id from the example hyperlink is 08c6e88adaa647cd9bb28e5d619178e0

Resource ID

Step 3: Add information to the fields shown below.

The fields are very descriptive and are displayed as mentioned in the HydroShare website

Once you are ready to update the added information, you can go ahead and click the submit button shown below

Learn more:

To try this on your own, you can use the code snippet below that is used in this demonstration.

      auth = HydroShareAuthBasic(username= username, password= password)
            hs = HydroShare(auth=auth)
            metadata = {
                "coverages": [
                    {"type": "period", "value": {"start": detail1, "end": detail2}}
                "creators": [
                    {"name": creator1 , "organization": organization , "email": Email , "address": Address , "phone": Phone},

            for i, author in enumerate(coauthor):
                metadata["creators"].append({ "name": author.strip() })

            science_metadata_json = hs.updateScienceMetadata(resourcein, metadata=metadata)
            messages.error(request, "Metadata added successfully")
        if has_errors:
            messages.error(request, "Please fix errors.")