submittable_api_client

A client wrapper for the Submittable.com API.


Keywords
API, REST, Submittable
License
MIT
Install
pip install submittable_api_client==0.6

Documentation

Submittable API Client

A Python client for the Submittable.com REST API.

Submittable.com is a service that allows you to post application and submission forms for users to fill in. They allow you to collect payments for submissions, assign staff to review submissions, and generally provide the needed workflow for accepting applications or submissions for your organization.

This API client is designed to leverage the Submittable REST API via Python scripts for various tasks and management duties. The API provided by Submittable.com is currently read-only, so this client does not cover creating any data.

Supported API Calls

Currently supported API calls are:

  • Categories
  • Submissions
  • Payments
  • Submitters

There are currently API endpoints in place for Organization and Staff, but these endpoints are problematic at this time (they are returning server errors). They will be revisited when functionality returns and time allows.

Requirements

This module is currently written for Python 2.7*. It requires the requests module available here: http://docs.python-requests.org/

Usage

Load up an API client with credentials:

In [1]: from submittable_api_client.submittable_api_client import SubmittableAPIClient
In [2]: client = SubmittableAPIClient(username='you@example.com', apitoken='555')

Note: you will need to use your own Submittable.com username and API Token.

Once the client is created it can be used to make multiple calls to the Submittable.com API. Here are some examples of the calls that can be made:

In [3]: cats = client.categories()
https://api.submittable.com/v1/categories/
In [4]: cats.count
Out[4]: 2
In [5]: cats.items
Out[5]:
[{u'active': True, ... }, ...]

Further documentation is available on the documents site: http://submittable-api-client.readthedocs.org/