A APi for the Chaparral platform
Project description
Chaparral Python API
- This python package is a wrapper for the Chaparral API. It provides a simple interface to interact with the Chaparral API.
- 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?
- Go to the Chaparral website
- click on inspect webpage
- Go to the network tab
- look for a rest api call
- copy the token from the headers
- The token will be valid for 8 hours
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for chaparralapi-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a736d7e3b1e485668b6fe641e5d253a193e1b14281af4c7852dea168c4e0824 |
|
MD5 | f08115c43dff534e84fa1f44ddc50736 |
|
BLAKE2b-256 | 64c54ef173556a2503e0476263a3c0d7e053632f4d01cc3933cfd3cbca93428d |