API pr2up.com
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pr2up_py-0.1.tar.gz
.
File metadata
- Download URL: pr2up_py-0.1.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6623dc5d164bef0fa250fbd31fff94154c77bf9d277b3b73f144749d9c820d27 |
|
MD5 | 5f90bf992ab5f9a93b51993fccb8f90c |
|
BLAKE2b-256 | 150d069354913ab4c33447ba8a0c85c46101edfc7af2a9253101f82d788c5e7c |