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 hashes)