A simple wrapper for Labymod's API.
Project description
Lapymod
This is a simple wrapper for the Labymod API.
Installation
pip install lapymod
Usage
import lapymod
#This creates a user that lets you query and update their data.
user = lapymod.User('34e57efa578346c7a9fc890296aaba1f') #(The uuid of LabyStudio -- an admin for Labymod)
#Returns all emotes for the user into a list.
emotes = user.getEmotes()
#Returns all cosmetics for the user into a list.
cosmetics = user.getCosmetics()
#Returns all stickers for the user into a list.
stickers = user.getStickers()
#Returns all roles for the user into a list.
roles = user.getRoles()
#Returns all of the above functions in one nice easy to use dictionary.
all_data = user.getAllData()
#You can change the user while you go.
user.setUser('32645503-0d51-4fc6-8e4a-28b03714db5e') #(The uuid of LabyMarco -- another admin for Labymod)
#When you either want new data for the user or want to change the data with a new supplied user, update it!
user.update()
#Returns True/False if the module is able to connect to the Labymod API.
api_status = lapymod.getStatus()
#Returns the current daily shop emotes in a list.
shop_emotes = lapymod.getShopEmotes()
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
lapymod-1.1.tar.gz
(6.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
lapymod-1.1-py3-none-any.whl
(7.5 kB
view details)
File details
Details for the file lapymod-1.1.tar.gz.
File metadata
- Download URL: lapymod-1.1.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c876415f23a4f01d0dd7b660f2014c809a92f6e5cdbd8dc29ebe50027627c30e
|
|
| MD5 |
119c060c5b93c4fa0bb9f372723dc024
|
|
| BLAKE2b-256 |
a02334ee7abed47d87cd1c74296c7e8de6af14370bfb670621c687cb218e0740
|
File details
Details for the file lapymod-1.1-py3-none-any.whl.
File metadata
- Download URL: lapymod-1.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f49cb05a510a8b27575be51dc69beb792487eade0768729f905cc2c7ffcfab7f
|
|
| MD5 |
a5960e7c6f0b2f905cc8032cf43d00bc
|
|
| BLAKE2b-256 |
d61137c2bbf608a42e9b3aa7c220aee994bb7da9fc93e33fa75158fd67d217ec
|