Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jayy001/pyfactorybridge
Satisfactory 1.0 Dedicated server API python wrapper
https://github.com/jayy001/pyfactorybridge
Last synced: 3 months ago
JSON representation
Satisfactory 1.0 Dedicated server API python wrapper
- Host: GitHub
- URL: https://github.com/jayy001/pyfactorybridge
- Owner: Jayy001
- License: mit
- Created: 2024-09-11T14:49:20.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T17:41:02.000Z (4 months ago)
- Last Synced: 2024-09-18T13:10:33.031Z (4 months ago)
- Language: Python
- Size: 184 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
➡️ 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. All API endpoints supported. No need to manually construct URLs or handle HTTP requests. Easy to use and understand.# Demo
*All methods are documented in the [methods.md](methods.md) file.*
```py
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()
```