Skip to content

Implement browsing functionality #4

Description

@millar

At the moment documents can only be managed in a singular fashion.

Would be nice to have search/filtration/ordering of documents to find their IDs if unknown.

Potential API:

api = Api()

documents = api.documents.where(name='name').order_by('-created_at')
# => return a document manager where each document is a api.document.set(id)
#    from the results of the API call
# Could also pre-install metadata from the initial query to reduce future calls

for document in documents:
    print document.id

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions