Power2UP API
##Install
pip install py_pr2up
##Docs
###Functions
get_services() - get services
Return JSON object
{
"service": 1,
"name": "Живые Подписчики Ру",
"type": "subscribe",
"category": "Russian profiles. Adds views and small activity.",
"rate": "100.00",
"min": 10,
"max": 15000,
"refill": false
}
create_order(service_id, link, quantity) - Create order
- service_id - service id
- link - post url
- quantity - count
Return JSON object
{
"order": 1
}
check_status(order_id) - check_status
- order_id - order id
Return JSON object
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
create_refill(order_id) - Create Refill
- order_id - order id
Return JSON object
{
"refill": 1
}
get_balance() - get balance
Return JSON object
{
"balance": "99.80",
"currency": "USD"
}
cancel_order(order_id) - Cancel order
- order_id - your order id
Return JSON object
{
"ok": "true"
}
####In case of an error, it will return a JSON response:
{
"error": "Error Example"
}
###Example
from pr2up import Power2Up
pr2up = Power2Up("API_TOKEN")
order = pr2up.get_services()
for i in order:
print(i)
##Plans
вњ… Create Project
вњ… Developing sync API
рџ”І Developing async API ##Author
Developed by GFNPRO
Telegram - https://t.me/gfnpro
Release files for pr2up-py 0.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 | |
|---|---|---|---|
| pr2up_py-0.1.tar.gz | 15.1 kB | Details |
Release files / pr2up_py-0.1.tar.gz
| Download URL | pr2up_py-0.1.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6623dc5d164bef0fa250fbd31fff94154c77bf9d277b3b73f144749d9c820d27
|
|
BLAKE2b-256 checksum How to use checksums |
150d069354913ab4c33447ba8a0c85c46101edfc7af2a9253101f82d788c5e7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.8.2 requests/2.21.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|