Skip to main content

The MCStalker API Wrapper

Async-Friendly wrapper for the MCStalker API.

N|Solid

SOURCE - https://github.com/TheOnlyWayUp/mcStalkerApiWrapper

Wiki - https://github.com/TheOnlyWayUp/mcStalkerApiWrapper/wiki

Discord - https://discord.gg/bQhzbg27cm


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 -

  • Non Cached
  from mcStalker.mcStalker import Player
  from mcStalker.mcStalker import Server
  from mcStalker.mcStalker import Stats
  • Cached
  from mcStalker.cachedMCStalker import Player
  from mcStalker.cachedMCStalker import Server
  from mcStalker.cachedMCStalker import Stats

Usage -

Stats -

    from mcStalker.mcStalker import Stats #Not cached
    from mcStalker.cachedMCStalker import Stats #Cached
    stats = Stats(apiKey)
    asyncio.run(stats.returnStats() -> Stats._Stats Object)

Player -

    from mcStalker.mcStalker import Player #Not cached
    from mcStalker.cachedMCStalker import Player #Cached
    player = Player(apiKey)
    asyncio.run(player.returnPlayer(username) -> Player._Player Object)

Server -

    from mcStalker.mcStalker import Server #Not cached
    from mcStalker.cachedMCStalker import Server #Cached
    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

Metadata

Release files for mcStalker 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcStalker 0.1.7
File Size Uploaded Provenance Actions
mcStalker-0.1.7.tar.gz 8.7 kB Without provenance Details for mcStalker-0.1.7.tar.gz

Release files / mcStalker-0.1.7.tar.gz

Download URL mcStalker-0.1.7.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
58efdc4fa73c561e21ce30ff95e0e53a8100647c26066f81b3cc4be4965853f9
BLAKE2b-256 checksum
How to use checksums
57a96659d0ee55c78e12d62b052ff954b87566ceed3589363eefe9275efd3ca3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

Security for mcStalker 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page