Skip to main content

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

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)

Uploaded Source

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

Hashes for stapi-0.1.13.tar.gz
Algorithm Hash digest
SHA256 677630da9b66a66e75cc166a607b95095168fc26f0bfde6d0956a0b0b221035b
MD5 c7fa507c52ada2dfb8c8f4bc084f84bb
BLAKE2b-256 d3c867449c7c99d8d55554ff6ae43863213a1edfaccc8e71c9f00d548efa8a0c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.13 This release

1 file

0.1.12

1 file

0.1.11

1 file

0.1.1

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page