DataStoreLib.py

Goal

DataStoreLib.py is a python SDK designed to access the DataStore API.

Implementation

DataStoreLib.py simplifies the DataStore API into two python functions

#file: file to be passed to requests
#mimeType: string mimeType
#data: dictionary of metadata for the file
DataStore.uploadFile(file, mimeType, data)
#returns: True or False

#conditions: array of conditions to pass to DataStore.
#   Syntax in the DataStore documentation
DataStore.getIds(conditions)
#returns: array of urls to files passing the conditions

Completed

  • Uploading Files
  • Searching metadata

Future goals

None yet

Source Code