Skip to main content

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

pyfactorybridge-0.1.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfactorybridge-0.1.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file pyfactorybridge-0.1.2.tar.gz.

File metadata

  • Download URL: pyfactorybridge-0.1.2.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

Hashes for pyfactorybridge-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2056f8cb864906f5b83c825e110033f3288d26377f80e72ab5be73305e75b6d4
MD5 47ee6c46c6f9c9ceb1bc533ac70b3b30
BLAKE2b-256 661cb04386501e9ffcfcce5459f6cc5a9ef2e4d6561a223daf954d958cd496f4

See more details on using hashes here.

File details

Details for the file pyfactorybridge-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyfactorybridge-0.1.2-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

Hashes for pyfactorybridge-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7d8b9d86d3bf93e77f43e0d7ed580715ad5b5a8bae9a8dfb1df7e36fddfb0197
MD5 91670f1f16e02cf979cd359786504a63
BLAKE2b-256 f46c003e2212f3269be3b336baef9b587725a3890ec523b928de127dfe0a0f2c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page