Skip to content

fastuptime/speedsmm-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 speedsmm-api

speedsmm-api, Sosyal Medya Pazarlama (SMM) 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, data })

Yeni bir sipariş ekler.

smm.addOrder({
    service: 'service_id',
    data: {
        link: 'https://example.com',
        quantity: 100,
        custom: 'custom_data'
    }
}).then(response => {
    console.log(response);
}).catch(error => {
    console.error(error);
});

ordersCancel({ orders })

Bir veya birden fazla siparişi iptal eder.

smm.ordersCancel({ orders: ['12345', '67890'] }).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);
});

🔄 refillMultipleStatus({ orders })

Birden fazla siparişin doldurma durumlarını sorgular.

smm.refillMultipleStatus({ orders: ['12345', '67890'] }).then(response => {
    console.log(response);
}).catch(error => {
    console.error(error);
});

🌐 getMyIP()

Kendi IP adresinizi sorgular.

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

📝 Lisans

About

SpeedSMM API - SMM panel api for NodeJS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published