A package to use the alt:V Masterlist api
Project description
alt:V Masterlist for Python
You can use this Package to interface with the alt:V master list API.
Install
pip install altvmasterlist
or pip3 install altvmasterlist
Examples
import altvmasterlist as altv
# get the server json
altv.get_server_by_id("ceaac3d1cc22761223beac38386f5ab2").get_json()
# get all servers as server object
altv.get_servers()
# get all server stats
altv.get_server_stats()
# get a server and read stuff
server = altv.get_server_by_id("ceaac3d1cc22761223beac38386f5ab2")
print(server.players)
This should output something like 200
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for altvmasterlist-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c044c4c667b87fcc1d6c6c4096a1271dd49c1161633bca67d207bff51ebe9e40 |
|
MD5 | 985767f8fa1d0f7dc112615189c9b667 |
|
BLAKE2b-256 | 621ad82441120e97cc9183be49f3990668994399b78397c79afa7b09cf382893 |