1.0.3 • Published 5 years ago

kopeechka-api v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

FAQ - https://kopeechka.store/apifaq.php

Установка

$ npm install kopeechka-api --save

Инструкция

const api = require('kopeechka-api');

Запрос баланса аккаунта

api.getBalance('TOKEN').then(result => console.log(result));

Запрос почты

api.getEmail('TOKEN', 'SERVICE', 'MAIL_TYPE').then(result => console.log(result));

Почта готова

api.setEmailReady('TOKEN', ID).then(result => console.log(result));

Запрос ссылки верификации

api.getVerificationLink('TOKEN', ID).then(result => console.log(result));

Отменить мыло

api.cancelEmail('TOKEN', ID).then(result => console.log(result));

Повторный запрос активации с этого email

api.reorderEmail('TOKEN', 'SERVICE', 'EMAIL').then(result => console.log(result));

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago