Skip to main content

A APi for the Chaparral platform

Project description

Chaparral Python API

  1. This python package is a wrapper for the Chaparral API. It provides a simple interface to interact with the Chaparral API.
  2. Currently, it only supports a limited number of API endpoints. More will be added in the future.

Install

pip install chaparralapi

Example Usage

token = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
api = MyApi(token)
print(api.list_projects())
print(api.list_fasta())
print(api.read_organization())

Where to get the token?

  1. Go to the Chaparral website
  2. click on inspect webpage
  3. Go to the network tab
  4. look for a rest api call
  5. copy the token from the headers
  6. The token will be valid for 8 hours

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chaparralapi-0.0.1.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

chaparralapi-0.0.1-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page