Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

motoenduroboy/pastee-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pasteeAPI

NPM

Build StatusGitHub issues

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)

About

An API to communicate with paste.ee (Unoffical)

Resources

License

Stars

Watchers

Forks

Packages

No packages published