Skip to content

pastanetwork/async-pydustry.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

pip install git+https://github.com/chredeur/pydustry.py

Example

  • main.py
import asyncio
import async_pydustry


async def main():
    status = await async_pydustry.Server("pastanetwork.com").get_status()
    print(status)


asyncio.run(main())
  • 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
)

About

Module for server information in the game Mindustry.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%