Panel.Rip's public NodeJS SDK for developers and resellers.
🏠 Homepage
✨ Demo
npm i @panel-rip/node-sdk
import panelrip from '@panel-rip/node-sdk'
const client = new panelrip({
key: "YOUR API KEY GENERATED FROM PANEL.RIP" // https://panel.rip/account
})
// get balance
client.balance().then(console.log).catch(console.error);
/*
{balance: 100, currency: "USD"}
*/
// get services
client.services().then(console.log).catch(console.error);
/*
[
...
{
rate: '0.02',
service: '308',
category: '📱 Telegram Post Views',
name: 'Telegram Post Views | No Refill | Max 3M | TEST SERVER',
type: 'Default',
min: '10',
max: '3000000'
},
...
]
*/
// get order status
client.order("ORDER ID").then(console.log).catch(console.error);
/*
{
charge: '0.39',
start_count: '0',
status: 'Completed',
remains: '0',
currency: 'EUR'
}
*/
// order on panel.rip
client.order_create("308", "https://t.me/@panel.rip", 1000).then(console.log).catch(console.error);
/*
{order: "order id"}
*/
// get refill status
client.refill_status("refill id").then(console.log).catch(console.error);
/*
{status: "Completed"}
*/
// create refill
client.refill("order id").then(console.log).catch(console.error);
/*
{refill: "refill id"}
*/
👤 HiiZun [email protected]
- Website: http://hiizun.fr
- Twitter: @hiizunfr
- Github: @HiiZun
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator