Skip to main content

Byond-API

A simple and convenient extension that can be used to work with the servers of the game Space Station 13 based on the BayStation build.

supported builds = ["bay", "paradise"]

Examples

from Byond_API import ByondAPI
servers = ByondAPI()
servers.add_server("ss220", "bay" ('game.ss220.space' ,7725))
server_info = servers.get_server_info("ss220")
server_revision = servers.get_server_revision("ss220")
server_manifest = servers.get_server_manifest("ss220")

Proc's

def add_server(name: str, build: str, data: tuple) -> None:
def get_server_revision(server:str=None) -> Info:
def get_server_info(server:str=None) -> Info:
def get_server_manifest(server:str=None) -> Info:

Info object

Vars:
    Type - Type of Info object (Info, Revision, Manifest)
    raw_data - Raw dict of data

    for Info:
        version
        mode
        can_respawn 
        can_enter
        can_vote
        ai
        host
        players_num
        station_time
        round_duration
        round_time
        map
        ticker_state
        admins_num
        players	
        admins
        active_players
    for Revision:
        gameid
        dm_version
        dm_build
        dd_verion 
        dd_build
        revision
        git_branch
        date
    for Manifest:
        manifest

Metadata

Release files for Byond-API 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Byond-API 0.2.2
File Size Uploaded
Byond_API-0.2.2.tar.gz 3.7 kB Details

Release files / Byond_API-0.2.2.tar.gz

Download URL Byond_API-0.2.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
baa2ef459e5db8b80b05c85b16cf093801b4d498ab7c9fb48d7d41e73950dd1c
BLAKE2b-256 checksum
How to use checksums
d854c56d285c590570a925cba47214ea3cd5681a03bb4d8dea8afb0b841db980
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page