1.2.0 • Published 3 years ago
allocloud.js v1.2.0
AlloCloud!
Q.: What this?
- R.: This is a AlloCloud™ Official wrapper!
Q.: How to Use?
- R.: It's easy! go to Dashboard and click in "Create new DataBase" now follow the Getting Started instructions!
Getting Started!
First let's start a connection to the Allo data API!
const AlloCloud = require('allocloud.js'); const database = new AlloCloud.Database({ /* Options */ });
- Note: we do not approve this authentication credentials in this example, you must add yours to the yours finals code
Learning to Set and Pull data of AlloCloud API.
/* * - "path" is a directory to save a "data" * - "data" can be anything like Objects, Strings and others... */
database.set("path", "data");
/*
- "path" is a directory to your "data"
Note: the GET method returns a promise it is recommended to use Await to wait for the data... */
database.get("path");
<hr />
> ***Notes:***
- *AlloCloud™ read more in [documentation](https://github.com/Canary2000/allocloud.js/tree/main/doc)*
- *this example is a usage example for DataBase if you are interested in AlloCloud, visit this [site](https://www.allocloud.cf/services)*
- *This NPM is an official AlloCloud™ package*