mcStalker is an API wrapper for the https://mcstalker.com API. It uses efficient, asynchronous Pythonic code that's easy to use and integrate, well documented, and is modular.
Project description
The MCStalker API Wrapper
Async-Friendly wrapper for the MCStalker API.
Endpoints currently supported -
- /stats
- /searchusername
- /searchserver
- /filterservers
YOU NEED AN API KEY TO USE THIS WRAPPER.
You can get a key at https://mcstalker.com/register
Imports -
- from mcStalker.mcStalker import Player
- from mcStalker.mcStalker import Server
- from mcStalker.mcStalker import Stats
Usage -
Stats -
from mcStalker.mcStalker import Stats
stats = Stats(apiKey)
asyncio.run(stats.returnStats() -> Stats._Stats Object)
Player -
from mcStalker.mcStalker import Player
player = Player(apiKey)
asyncio.run(player.returnPlayer(username) -> Player._Player Object)
Server -
from mcStalker.mcStalker import Server
server = Server(apiKey)
asyncio.run(server.returnServer(ip) -> Server._Server Object)
asyncio.run(server.returnTopServers() -> [Server._Server Object, Server._Server Object, ...])
Created by TheOnlyWayUp#1231 - https://github.com/TheOnlyWayUp/
MCStalker created by SSouper - https://github.com/SSouper
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
mcStalker-0.0.3.tar.gz
(6.4 kB
view hashes)