A Python client for accessing Star Trek API
Project description
A python client for the Star Trek API http://stapi.co/
Installation
$ pip3 install stapi
Usage
import stapi
criteria = stapi.search_criteria.AnimalSearchCriteria(0, 50, "", avian=True)
response = stapi.RestClient().animal.search(criteria)
# response now contains results from the API, in this case the first fifty animals which are avians
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
stapi-0.1.13.tar.gz
(38.1 kB
view details)
File details
Details for the file stapi-0.1.13.tar.gz.
File metadata
- Download URL: stapi-0.1.13.tar.gz
- Upload date:
- Size: 38.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
677630da9b66a66e75cc166a607b95095168fc26f0bfde6d0956a0b0b221035b
|
|
| MD5 |
c7fa507c52ada2dfb8c8f4bc084f84bb
|
|
| BLAKE2b-256 |
d3c867449c7c99d8d55554ff6ae43863213a1edfaccc8e71c9f00d548efa8a0c
|