Async client for Satisfactory dedicated server APIs
Project description
aiosatisfactory
This is an async Python library for Satisfactory dedicated server's APIs.
This work is based off the official documentation that is provided with the game files or is also available on the official wiki
Lightweight API (docs)
This API should be used to poll the server state before making most of the https requests
No errors are raised but you must check if the query was succesful
Usage:
from aiosatisfactory import SatisfactoryServer
import time
client = SatisfactoryServer("server.ip")
query = await client.lightweight.query(time.time_ns()) #We use time to generate a Cookie
if query is not None:
print(query.response)
Https API (docs)
This API requires the session parameter to be set in the SatisfactoryServer constructor
It does raise an ErrorResponse exeption if the function you try to execute fails
Usage:
import asyncio
from aiosatisfactory import SatisfactoryServer
async def main():
with aiohttp.ClientSession() as session:
client = SatisfactoryServer("server.ip", session=session)
try:
response = await client.https.api.health_check()
print(response.health)
except ErrorResponse as e:
print(f"Error: {e.error_code, e.error_message, e.error_details}")
asyncio.run(main())
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
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 aiosatisfactory-0.1.1.tar.gz.
File metadata
- Download URL: aiosatisfactory-0.1.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c015876c9fa7bbb02859ba1a6e3b1aa0224bb00179899f44238b9e80b4c2ddcf
|
|
| MD5 |
3f5646cce098dbeeca9b167bfceefd3d
|
|
| BLAKE2b-256 |
0f8d2157e2eab433bc2b5659658746a7632dfba7410d78c8bbddd1324b7c62fb
|
Provenance
The following attestation bundles were made for aiosatisfactory-0.1.1.tar.gz:
Publisher:
python-publish.yml on Rikys/aiosatisfactory
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiosatisfactory-0.1.1.tar.gz -
Subject digest:
c015876c9fa7bbb02859ba1a6e3b1aa0224bb00179899f44238b9e80b4c2ddcf - Sigstore transparency entry: 701601924
- Sigstore integration time:
-
Permalink:
Rikys/aiosatisfactory@f6178f57a0f33dcce137c4c58eb101e67dfec598 -
Branch / Tag:
refs/tags/v0.1.1-alpha - Owner: https://github.com/Rikys
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f6178f57a0f33dcce137c4c58eb101e67dfec598 -
Trigger Event:
release
-
Statement type:
File details
Details for the file aiosatisfactory-0.1.1-py3-none-any.whl.
File metadata
- Download URL: aiosatisfactory-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ca2aa5c08fee32cb1f6120cf3dc5e56d3881fcefc40a53d1e7f83862108e3a7
|
|
| MD5 |
57866a58492da8c4622d57123bc4df06
|
|
| BLAKE2b-256 |
ab96663b57611cb525ef32612053b04745c8893d87b4e08e2e532d470ebae2c1
|
Provenance
The following attestation bundles were made for aiosatisfactory-0.1.1-py3-none-any.whl:
Publisher:
python-publish.yml on Rikys/aiosatisfactory
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiosatisfactory-0.1.1-py3-none-any.whl -
Subject digest:
0ca2aa5c08fee32cb1f6120cf3dc5e56d3881fcefc40a53d1e7f83862108e3a7 - Sigstore transparency entry: 701601925
- Sigstore integration time:
-
Permalink:
Rikys/aiosatisfactory@f6178f57a0f33dcce137c4c58eb101e67dfec598 -
Branch / Tag:
refs/tags/v0.1.1-alpha - Owner: https://github.com/Rikys
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f6178f57a0f33dcce137c4c58eb101e67dfec598 -
Trigger Event:
release
-
Statement type: