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.0.tar.gz
(8.9 kB
view hashes)
Built Distribution
Close
Hashes for influence_api-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1db81c28ecdcd6c7fecbdaa7495ba079442d9b5050b4b2ffa9989b314731e286 |
|
MD5 | 4e176ae32c389b19f97b84aab38116ee |
|
BLAKE2b-256 | b95cbc06311f8c5a0f742df49e8feb1bee86858ad905508633f3f220299ecbf4 |