pastee-api

0.0.5 • Public • Published

pasteeAPI Build Status

An API to communicate with paste.ee (Unoffical)

Install

npm install pastee-api

Usage

Create A Paste

  let Pastee = new PasteeAPI('YOUR TOKEN');
 
  Pastee.paste({"contents" : "What ever you want", "name": "A new Paste", "expire": 100}).then(res => {
    
  }).catch(err => {
 
  });

Paste object

  • contents - The content of the Paste (Required)
  • name - The name of the paste (Not Required)
  • expire - The time in seconds (Not Required)

Return Object

  • id - the id of the paste
  • link - link to the paste
  • success - true or false

Retrieve A Paste (Coming Soon)

/pastee-api/

    Package Sidebar

    Install

    npm i pastee-api

    Weekly Downloads

    22

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    3.67 kB

    Total Files

    4

    Last publish

    Collaborators

    • motoenduroboy