Wrapper around the Satisfactory Dedicated Server HTTP API
Project description
➡️ Method References ⬅️
Satisfactory Dedicated Server HTTP API Python wrapper
pip install pyfactorybridge
Overview
This is a Python wrapper for the Satisfactory Dedicated Server HTTP API. It is designed to make it easier to interact with the API and to provide a more Pythonic interface.
Features
Direct 1:1 implementation to the offical documentation. Most API endpoints supported (bar downloading & uploading saves, and some other ways of authenticating). No need to manually construct URLs or handle HTTP requests. Easy to use and understand.
Demo
All methods are documented in the methods.md file.
from pyfactorybridge import API
from pyfactorybridge.exceptions import SaveGameFailed
# Authenticate with the password... (not recommended)
# satisfactory = API(address="XXXX:7777", password="XXXX")
# Or with the token...
satisfactory = API(address="XXXX:7777", token="XXXX")
try:
satisfactory.save_game(SaveName="Test")
except SaveGameFailed as error:
print("Could not save game!")
print(satisfactory.get_server_options())
satisfactory.shutdown()
ToDo
- Update documentation to reflect error exceptions
- Add support for more authentication methods
- Implement more logging and catch request errors
- Add support for SSL certifications to avoid using
verify=false - Add support for downloading and uploading games
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 pyfactorybridge-0.1.3.tar.gz.
File metadata
- Download URL: pyfactorybridge-0.1.3.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b87188a977885a6097f6fa84d887dffa706f7abe25a92bb9a224212cedb6fa62
|
|
| MD5 |
49efa97577d8c47f0c06da7f177a7563
|
|
| BLAKE2b-256 |
d4380a048f367ad696565a9ac94736529622872bbcc9e56b027eaec9230451f7
|
File details
Details for the file pyfactorybridge-0.1.3-py3-none-any.whl.
File metadata
- Download URL: pyfactorybridge-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b45828a961ad58cd418f23a095835857040c593575953850821456bb7e5281a
|
|
| MD5 |
d85e05b3ff77d5c95d5be135514145ae
|
|
| BLAKE2b-256 |
de63a3a7782bc643cb22d5e00015d92a1a100350e1d803936615567a9ecb5823
|