MeanderAPI
A python library for interact with Meander API
Features
- Supports Google auth
- Get all quest list without auth
- Download quests without auth
- Auth by token
Install
pip install MeanderAPI
Usage Example
Here is a comprehensive example demonstrating how to initialize the client, authenticate, browse quests, download them, and interact with the voting system.
from MeanderAPI import client, quests, genres
# Auth by token you can get it by using google auth
user = client.new_auth_by_token("MeanderToken")
# Guest mode
user = client.new_guest()
# Meander google auth
user = client.new_google_auth()
# Get all quests
print(quests.get_quests(user))
# Get quest by id
print(quests.get_quest_by_id(user, "ba0b5e8d-0d4f-4368-af9f-2564bc00c07d"))
# Download quest
quests.download_quest(user, quests.get_quest_by_id(user, "ba0b5e8d-0d4f-4368-af9f-2564bc00c07d"), r"C:\Users\Deniz\Desktop\MeanderAPI\mnd.mnd")
# Get quest by search
print(quests.get_quests_by_search(user, "test", genres.Adventure, "27ed560e-6a0f-4e67-bb7b-ce291e89f075"))
# Get my vote quest (Auth required)
print(quests.get_my_vote(user, quests.get_quest_by_id(user, "7915972f-92bb-4464-b14d-c1a279cd8a26")))
# Unvote quest (Auth required)
print(quests.unvote(user, quests.get_quest_by_id(user, "7915972f-92bb-4464-b14d-c1a279cd8a26")))
# Like quest (Auth required)
print(quests.like(user, quests.get_quest_by_id(user, "7915972f-92bb-4464-b14d-c1a279cd8a26")))
# Dislike quest (Auth required)
print(quests.dislike(user, quests.get_quest_by_id(user, "7915972f-92bb-4464-b14d-c1a279cd8a26")))
Metadata
Release files for MeanderAPI 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| meanderapi-0.1.7.tar.gz | 4.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| meanderapi-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / meanderapi-0.1.7.tar.gz
| Download URL | meanderapi-0.1.7.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7824a74ec72f5425d6a8cb05cfa6dba2fedde2f53061fee0f6a2f8d7c7da49d
|
|
BLAKE2b-256 checksum How to use checksums |
2770713049a5aff76981f98d8466a62b45c5788007b42d6ab89e9622a89105a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / meanderapi-0.1.7-py3-none-any.whl
| Download URL | meanderapi-0.1.7-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c193d0857732efa01494e4dc67bbcf90288acacaf8283de552154d49c543c790
|
|
BLAKE2b-256 checksum How to use checksums |
20a3b043b55c40cfefd589fce0f68e719b6aa07ce95ae9012fefa8f8ca5dfcc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Security for MeanderAPI 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.