Skip to main content

This is a reverse engineered API wrapper for https://monitoringminecraft.ru/, which allow you automate the process.

Project description

Python Minecraft-Monitoring API

License: MIT

PyPi Version

This is a reverse engineered API wrapper for Minecraft-Monitroing.ru, which allow you automate the process.

Features:

  • Log in with token (authautologin cookie)
  • Add new server
  • Remove exist server
  • Edit exist server
  • Display server list
  • Support markdown
  • Helpful params

Documentation:

Examples can be found in the /examples directory. To run these examples, replce auth_token in your token.

client = Client('your_auth_token_here')

Finding Your Token:

Log into Minecraft-Monitroing.ru on any browser, then open your browser's developer tools (also known as "inspect") and look for the value of the authautologin cookie in the following menus:

  • Chromium: Devtools > Application > Cookies > monitoringminecraft.ru
  • Firefox: Devtools > Storage > Cookies
  • Safari: Devtools > Storage > Cookies

Using the Client:

To use this library, simply import minecraftmonitoring and create a minecraftmonitoring.Client instance. The Client class accepts the following arguments:

authautologin - The token to use.

user_agent - The user agent.

Regular Example:

from minecraftmonitoring import Client

client = Client('auth_token', user_agent='Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1')

Copyright:

This program is licensed under the MIT.

Copyright Notice:

MIT License

Copyright (c) 2023 Xpos587

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minecraft-monitoring-api-0.1.2.tar.gz (6.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page