Metadata-Version: 2.1
Name: influence-api
Version: 0.1.0
Summary: An API for Influence (influenceth.io)
Home-page: https://gitlab.com/gamechaingers/influence-api
Author: GameChaingers, LLC
Author-email: engineering@gamechaingers.io
License: OSI Approved :: BSD License
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# Influence API

A python API for [Influence](https://influenceth.io).

## 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

```python
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"
```


