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 hashes)
Built Distribution
Close
Hashes for pyogpclient-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d70fd366898833c35cbdf60c60317a74e31cec09ba473eebfbf8b5a0dec73a |
|
MD5 | 08259fc4c8d3f44d25f3958f2d400809 |
|
BLAKE2b-256 | c06fc2e432d6a8396d0af93342ebffa01a23563e4fb5ed8f93efdeada254893c |