Skip to main content

Module for server information in the game Mindustry.

Project description

Installation

pip install -U pydustry.py

Example

  • main.py
import pydustry

status = pydustry.Server("rcrms.ru").get_status()

print(status)
  • Return
Status(
    name='[gold]RCR [#B5B8B1]- [white]Ру[blue]сс[red]кий [#B5B8B1]Сервер',
    map='RCR HUB',
    players=7,
    wave=1,
    version=146,
    vertype='official',
    gamemode=0,
    limit=0,
    desc='...',
    modename='LOBBY',
    ping=37
)

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

pydustry_py-2.1.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

pydustry_py-2.1.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

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