Small module to retrieve game servers and player information for the game Teeworlds
Project description
Teeworlds Server Info
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Teeworlds Server Info-1.0.3.tar.gz
.
File metadata
- Download URL: Teeworlds Server Info-1.0.3.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee167da8d7e2048699cb989685b62dea03e0330fece812e812cb8002ffe11de2 |
|
MD5 | 7582be8ed49af770bdb7645f866c248a |
|
BLAKE2b-256 | d80e19aa2d583a5a551095c206a3f8d318c3703930b27acb779b32db698936ff |
File details
Details for the file Teeworlds_Server_Info-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: Teeworlds_Server_Info-1.0.3-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.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8712e4ee274a52410ae8cee25fec79d321e1cc022d9189fe6b0ab5dada1e420 |
|
MD5 | 3863221e0bd179dd40aad0a8c16522c5 |
|
BLAKE2b-256 | be90bd79104b0c0ea43830941c1637d56bc456af854f811d6640eaa3b92ab481 |