cloudtext

0.2.7 • Public • Published

CloudText API Package

Supports clear and easy shortcuts to the cloudtext api The official package

About

Installation

NPM

npm i cloudtext

Use

const cloudtext = require("cloudtext");

Docs

Get

get data from the database
Example

cloudtext.get({
  name: "NAME",
  pass: "PASSWORD"
}, (data, error) => {
  console.log(data)
  console.log(data['text'])
});

Change

change database Example

cloudtext.change({
  name: "NAME",
  pass: "PASSWORD",
  // OPTIONS
  text: "TEXT",
  mode: "public", // public/private/lock
  type: "html", // regular/html/readme
  key: "MyKey"
}, (error) => {
  console.log(error)
})

AccountCheck

check email and password Exaple

cloudtext.accountCheck({
  email: "EMAIL",
  password: "PASSWORD"
}, data => {
  console.log(data)
})

Readme

Keywords

none

Package Sidebar

Install

npm i cloudtext

Weekly Downloads

1

Version

0.2.7

License

ISC

Unpacked Size

11.6 kB

Total Files

7

Last publish

Collaborators

  • orielhaim