Open Game Protocol Client for Python 3
Project description
pyogpclient
Open Game Protocol Client for Python 3
Usage
from pyogpclient import OGPClient
client = OGPClient("example.com", 7776)
status = client.query()
print("Current Players: " + str(status["info"]["player_count"]) + " / " + str(status["info"]["slot_max"]))
Response
- game_id
- info
- game_name
- type
- type_name
- password
- proxy
- os
- os_name
- host_name
- host_name_color
- connect_port
- mod
- name
- id
- size
- version
- url
- author
- game_type
- game_mode
- map
- name
- file_name
- file_size
- file_md5
- version
- url
- author
- next_map (see map)
- player_count
- slot_max
- bot_count
- reserved_slots
Missing Fields (TODO)
- teams
- players
- rules
- addons
- limits
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
pyogpclient-0.0.1.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyogpclient-0.0.1.tar.gz.
File metadata
- Download URL: pyogpclient-0.0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a916218a0823dc3e9758f7b7ff492b760104084d440e74c980ef1ec36b99627
|
|
| MD5 |
a7f2dc5c1e6ae6d03736b0fb0888f730
|
|
| BLAKE2b-256 |
41facefcba576e9fa18b5be82cfee3012e4af06f8653f20518840a29e3f5c8ea
|
File details
Details for the file pyogpclient-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pyogpclient-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86d70fd366898833c35cbdf60c60317a74e31cec09ba473eebfbf8b5a0dec73a
|
|
| MD5 |
08259fc4c8d3f44d25f3958f2d400809
|
|
| BLAKE2b-256 |
c06fc2e432d6a8396d0af93342ebffa01a23563e4fb5ed8f93efdeada254893c
|