/kopeechka-api

its A Kopeechka.store API Wrapper

Primary LanguageJavaScript

Kopeechka

its A Kopeechka.store API Wrapper

Installation

You can use the following command to add the library to your project:

npm install kopeechka

Usage

ApiKey Connection

import { KopeechkaClass } from 'kopeechka';
//or
const { KopeechkaClass } = require("kopeechka")
const api = new KopeechkaClass("1234567890", "2.0");

Request Email

  const d = await api.getEmailRequest({
    site: "github.com",
    mailType: "outlook"
  })
  console.log(d)

Get Email Response

      const getResponseEmail = await api.recieveEmail({ 
        taskID: "1234567890"
      })
      
  console.log(getResponseEmail)