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.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

Teeworlds_Server_Info-1.0.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Teeworlds Server Info-1.0.0.tar.gz
  • Upload date:
  • Size: 8.2 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.0.tar.gz
Algorithm Hash digest
SHA256 e0c26f9f876d3804e6a3e30772fb8f796eaf6b6fa670f275507417f9335c1741
MD5 ad9d5835d2f165579cad263d8ba467c3
BLAKE2b-256 029b542a920b7ba0a0e4a744625b685c8bf57df27825aa44051ad04b8770d72b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Teeworlds_Server_Info-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c000574113e0a05709da28e03b246e0e3bd52663fac335d7c08d7db83491de4
MD5 a1e13771274bad7cd0b509cc74350f92
BLAKE2b-256 6981354e023b4752fb22e77f3781582d33d5ffb635e0ca9d9977528b9701ce0e

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