Skip to main content

MeaxisNetwork API Python Wrapper

Introduction

This is a python wrapper to include MeaxisNetwork API Endpoints and requests into your code. The following endpoints are supported:

Users
Accounts
Creations
Funfact
Shop
Vote

Code Samples

Get public user data from a MeaxisNetwork User

from meaxisnetwork import users

Meaxis = users.User(platform = "username", query = "Meaxis")

# JSON of the User Object

print(Meaxis.UserJSON)


# Any attribute of the user object will be a variable to use.

print(Meaxis.username + Meaxis.id + Meaxis.description)

Get all Shop Items in the MeaxisNetwork Shop

from meaxisnetwork import shop

Shop = shop.Shop()
print(Shop.items)    

Installation

Go to the following link:

https://pypi.org/project/meaxisnetwork

And then copy the installation link.

Windows

In the search bar, type in 'Command Prompt' and then press 'Yes' to the User Account Control Prompt.

Then paste the command you copied and press enter.

Linux

Run the following command in your terminal:

python3 -m pip install meaxisnetwork

If it says anything about python3 not being found, you need to install python with your Package Manger.

Debian:

sudo apt-get install python

Arch:

sudo pacman -S python

For other distributions, use your package manager to install python.


Changelog


Version 0.0.2

  • Beta Version released
  • Users, Account, Funfact, LeafyStatus, Shop and Creations class.
  • Custom errors for missing keyword arguments.

Version 0.0.3

  • Account, User, Creations, Funfact, LeafyStatus, Shop, Vote classes are split into files.
  • Credentials class is added for storing logcooks and sesscooks (not fully implemented).
  • New function for checking the response codes to format errors in a readable JSON format.

Version 0.0.4

  • (CRITICAL) Fixed a bug where the module did not install properly.

Version 0.0.5

  • (CRITICAL) Fixed a bug where incorrect dependencies were trying to be installed by setuptools configuration.

Version 0.0.6

  • Even more critical bug fixes.

Version 0.0.7

  • BUG FIXES

Version 0.0.8 & 0.0.9

  • Critical Bug Fix Attempts

Version 0.1.0

  • The critical bug has been fixed.
  • Importing the module no longer gives you the "filename has been loaded" screen.

Version 0.1.1 & 0.1.2 & 0.1.3 & 0.1.4

  • Categorisation (v2 APIs go in meaxisnetwork.v2)
  • meaxisnetwork.utils now includes a HTTPRequest class for ease of use for using the module with outdated or deprecated APIs not included in the module.
  • All modules have been switched to the HTTPRequest class instead of the previous request workflow.
  • POST requests have been fixed.
  • Credentials class fully implemented.

Version 0.1.5

  • Bug fixes
  • Public Release of Module

Release files for MeaxisNetwork 0.1.5

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

Source distribution (sdist)

Source distribution for MeaxisNetwork 0.1.5
File Size Uploaded
MeaxisNetwork-0.1.5.tar.gz 7.0 kB Details

Release files / MeaxisNetwork-0.1.5.tar.gz

Download URL MeaxisNetwork-0.1.5.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4bf52eeee5c2c9639a01e95b446f87ea2381532c7a11479b013de3317489a439
BLAKE2b-256 checksum
How to use checksums
eed46ae23eb11795f50d8a4b383329edf66f63f2c22de01b7caf770d21f8a28a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.2
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