1.0.9 • Published 11 months ago

speedsmm-api v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

🚀 speedsmm-api

speedsmm-api, SMM (Sosyal Medya Pazarlama) panelleri ile kolayca etkileşime geçmenizi sağlayan bir Node.js modülüdür. Bu modül, API anahtarınızı ve proxy ayarlarınızı kullanarak çeşitli SMM hizmetlerine erişim sağlar.

📦 Kurulum

npm install speedsmm-api

📚 Kullanım

Modülü kullanmak için, önce smmAPI sınıfını içe aktarın ve gerekli seçeneklerle yeni bir örnek oluşturun.

const smmAPI = require('speedsmm-api');

const smm = new smmAPI({
    key: 'YOUR_API_KEY',
    api: 'https://example.com/api',
    proxy: [
        {
            host: 'proxy_host',
            port: 8080,
            auth: {
                username: 'proxy_user',
                password: 'proxy_pass'
            }
        }
    ]
});

🌟 API Metodları

💰 getBalance()

API bakiyenizi sorgular.

smm.getBalance().then(response => {
    console.log(response);
}).catch(error => {
    console.error(error);
});

🛠️ getServices()

Mevcut hizmetleri listeler.

smm.getServices().then(response => {
    console.log(response);
}).catch(error => {
    console.error(error);
});

📊 getStatus({ order })

Belirtilen siparişin durumunu sorgular.

smm.getStatus({ order: '12345' }).then(response => {
    console.log(response);
}).catch(error => {
    console.error(error);
});

addOrder({ service, link, quantity, custom })

Yeni bir sipariş ekler.

smm.addOrder({
    service: 'service_id',
    data: { link: "https://www.instagram.com/p/CFQ4ZJ5nZ6e/", quantity: 100, custom: "test" }
}).then(response => {
    console.log(response);
}).catch(error => {
    console.error(error);
});

orderCancel({ order })

Bir siparişi iptal eder.

smm.orderCancel({ order: '12345' }).then(response => {
    console.log(response);
}).catch(error => {
    console.error(error);
});

🔄 refill({ order })

Bir siparişi doldurur.

smm.refill({ order: '12345' }).then(response => {
    console.log(response);
}).catch(error => {
    console.error(error);
});

🔍 refillStatus({ order })

Doldurma durumunu sorgular.

smm.refillStatus({ order: '12345' }).then(response => {
    console.log(response);
}).catch(error => {
    console.error(error);
});

📝 Lisans

1.0.9

11 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago