Python Loading SDK
Install
pip install python-loading-sdk
Usage
Instantiate the client and optionally provide login credentials to be able to use methods that requires the user to be logged in.
from loading_sdk import LoadingApiClient
client = LoadingApiClient(email="your@email.com", password="your_password")
response = client.get_profile()
It can also be used asyncrounously:
from loading_sdk import AsyncLoadingApiClient
client = await AsyncLoadingApiClient(email="your@email.com", password="your_password")
response = await client.get_profile()
Examples
Requires Auth
response = client.get_profile()
response = client.create_post(thread_id="5bbb986af1deda001d33bc4b", message="My message!")
response = client.edit_post(post_id="5bc876dd70a79c001dab7ebe", message="My updated message!")
response = client.create_thread(title="My title", message="The content!", category_name="games")
response = client.edit_thread(post_id="5bbb986af1deda001d33bc4b", message="My updated message!")
Anonymous
response = client.search(query="search query")
response = client.get_post(post_id="5bc876dd70a79c001dab7ebe")
response = client.get_thread(thread_id="5bbb986af1deda001d33bc4b", page=3)
response = client.get_games(page=5)
response = client.get_other(page=7)
response = client.get_editorials(page=2, post_type="review", sort="title")
response = client.get_about()
response = client.get_socials()
response = client.get_total_thread_pages(thread_id="5bbb986af1deda001d33bc4b")
response = client.get_total_category_pages(category="games")
Release files for python-loading-sdk 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-loading-sdk-0.4.1.tar.gz | 45.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_loading_sdk-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 96.9 kB
Release files / python-loading-sdk-0.4.1.tar.gz
| Download URL | python-loading-sdk-0.4.1.tar.gz |
|---|---|
| Size | 45.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ba1199ad03aed0bd855a77aebf751f46500c93226654742af30ab569628cba1
|
|
BLAKE2b-256 checksum How to use checksums |
a785b4a3836dcd65ab6b7ecedc7ff65a2633074da116425ad517fb490faa7e98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.7 Linux/5.15.0-1020-azure
|
Release files / python_loading_sdk-0.4.1-py3-none-any.whl
| Download URL | python_loading_sdk-0.4.1-py3-none-any.whl |
|---|---|
| Size | 51.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df276a383dace3520225621ac53dbd142193edea0041e337c3c02224af81f4da
|
|
BLAKE2b-256 checksum How to use checksums |
263535c2a364bef4af43eca85baf724220b92b31e06b9772fb3351e612df983f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.7 Linux/5.15.0-1020-azure
|