An API for Influence (influenceth.io)
Project description
Influence API
A python API for Influence.
Development
You must have an API key from Influence to develop or use the API. Contact DarkosNightmare#8555
on Discord, and request a production API key.
The preferred development environment is GitPod.
You will need the following environment variables defined to run unit tests:
INFLUENCE_CLIENT_ID
INFLUENCE_CLIENT_SECRET
Otherwise, tests relying on the live API will be skipped.
Usage
from influence_api import InfluenceClient
client = InfluenceClient()
assert influence_client.get_asteroid(1)["name"] == "TG-29980 'Adalia Prime'"
assert influence_client.get_crewmate(1)["name"] == "Scott Manley"
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
influence-api-0.1.1.tar.gz
(8.9 kB
view hashes)
Built Distribution
Close
Hashes for influence_api-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d63cc9ee223c0384d1ccaff22f4c4f68ca49598c6281113f45c2956c52974890 |
|
MD5 | ce4ea7a474a6eae1fc6475e7ae947fcd |
|
BLAKE2b-256 | 7b17792c6ce0f64cf02dc05408532c4eaf22ca2bfe75633dc607627cb007ee52 |