0.2.7 • Published 2 years ago

cloudtext v0.2.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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)
})
0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago