Unofficial Python bindings to the MCC Island API.
Project description
mcci-api-python
About
This library is a wrapper around the MCC Island API. Some basic examples are showcased below, but more extensive documentation will be coming soon.
Examples
Basics
To unlock this library's features, you first need to set up an APIClient instance. There are two options that must be set: api_key and user_agent:
api_key: Noxcrew requires you to generate an API key on the Noxcrew Gateway website. This is sensitive, so it is recommended to store this in a safe place. For the purpose of this example, we will use the environment variableMCCI_API_KEY.user_agent: Noxcrew also requires a uniqueUser-Agentheader header, which is represented here by this option. It is recommended to include a way to contact you in the header, like an email. Usually I format this as the GitHub repository, followed by the contact email. I'll use an environment variable here too, but you can include this directly in the code if you want.
from mcci_api import APIClient
import os
api_key = os.getenv("MCCI_API_KEY")
user_agent = os.getenv("MCCI_API_USER_AGENT")
client = APIClient(api_key=api_key, user_agent=user_agent)
Now we have a client!
...more coming soon...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcci_api-24.5.6.dev1.tar.gz.
File metadata
- Download URL: mcci_api-24.5.6.dev1.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e10acdc9e7586f4d03a78af699384211c3b1f73ee6aaa5dbc58e98799b458c0
|
|
| MD5 |
bb21fe8c3fda2863630c464cf76e7839
|
|
| BLAKE2b-256 |
44179aff92e924c7f7443c1fe87e8ee5b923cf49fbebf99830b8d25b1da0f51b
|
File details
Details for the file mcci_api-24.5.6.dev1-py3-none-any.whl.
File metadata
- Download URL: mcci_api-24.5.6.dev1-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09dd8a8e3be44d1e85d618e3b49524562aab300f95b35a1af3049c9e93436cf8
|
|
| MD5 |
15c8d2993c6ce9bdac63f66e0b14bfc0
|
|
| BLAKE2b-256 |
a1102c52fe6cbbd915ccfb50fbabc0eb12ab66ac63405c3d0e6ae34c0e30826d
|