Skip to main content

Small module to retrieve game servers and player information for the game Teeworlds

Project description

Teeworlds Server Info

Build Status Scrutinizer Code Quality Coverage Status

small module to retrieve the registered servers from the master server and request the player information of each server.

Installing

This script runs with Python 3.

Download this repository and run the setup.py to install all necessary dependencies

Dependencies

Required:

  • pycountry - Extension to retrieve country codes/names based on the numeric identifier

Usage

An example usage to retrieve the master servers, game servers and server information is in the file usage.py

Running the tests

In the tests folder you can run each unittest individually. The test cases should be self-explanatory.

Development

Want to contribute? Great! I'm always glad hearing about bugs or pull requests.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

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

Teeworlds Server Info-1.0.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

Teeworlds_Server_Info-1.0.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file Teeworlds Server Info-1.0.1.tar.gz.

File metadata

  • Download URL: Teeworlds Server Info-1.0.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for Teeworlds Server Info-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ccf77588c63bb0b42a6dd5e4c31c686a812666e9de6d7a5a2634900304530d25
MD5 73a328ce1affaa041e35e59fffbec1f0
BLAKE2b-256 b229e83346bc79ea17fc2caf0728309308e7a09b1df1cd89c809c6a066a7fb7a

See more details on using hashes here.

File details

Details for the file Teeworlds_Server_Info-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: Teeworlds_Server_Info-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for Teeworlds_Server_Info-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34a402a4ca7009ca0e5de296ca781efeef569b0e7add7be1e5f69c890bcc26c8
MD5 1eac8d93dc9f7fcdd21e9363f4f85509
BLAKE2b-256 6a0939b57bc917cd2a0fa23db8870fcb75308d34785a02fdf7a9aa70109276ff

See more details on using hashes here.

Supported by

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