Skip to main content

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(client_id="", client_secret="")

# Retrieve an asteroid
asteroid = client.get_asteroid(1)

# Retrieve a crew member
crewmember = client.get_crewmate(1)

# Use string options for key values (if applicable)
crewmember2 = client.get_crewmate(1, names=True)

Metadata

Release files for influence-api 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for influence-api 0.2.2
File Size Uploaded
influence-api-0.2.2.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for influence-api 0.2.2
File Interpreter ABI Platform
influence_api-0.2.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 18.6 kB

Release files / influence-api-0.2.2.tar.gz

Download URL influence-api-0.2.2.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
aa4c860d97a1a61b2ead903144afe1ded6cccf2a2a39cb036dfe99e955c93d66
BLAKE2b-256 checksum
How to use checksums
ccef5ecb37bedc28b50737b94621bcbc3893aca9f1a9c5b2504be5d921483c02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Release files / influence_api-0.2.2-py2.py3-none-any.whl

Download URL influence_api-0.2.2-py2.py3-none-any.whl
Size 7.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
576d65cd093df262f78f068b84068533974aa595d41a8973e95b38aa2ff101af
BLAKE2b-256 checksum
How to use checksums
07495f114462645d5c5a0b31c877f4263362db73c290c1c4a7ad209d7aabaa95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

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