1.0.2 • Published 5 years ago

par-mais-data v1.0.2

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
5 years ago

Logo

Sending useful data to Par Mais Big Data store.

Par Mais Data

Initialization

Initialize Par Mais Data Module with:

import ParMaisData from 'par-mais-data';
ParMaisData.init('APP_IDENTIFIER')

Events and Identifications

Uset this operation do identify an user.

ParMaisData.identify(eventName, userId, userData, eventData);

Or to register just an event.

ParMaisData.event(eventName, eventData);

Data Base

Sending data to our database

ParMaisData.persisData(data);

Sent dada must contain relevant data, as user email and name, like:

{
  "name": "user name",
  "email": "user email"
}

This method will return an id and a link to recover this data.

Getting data from our database

To get data:

ParMaisData.getData(id);

This id is the sabe returned on persisData.

Contributing

The Par Mais Tecnologia encourages participation. If you feel you can help in any way, be it with bug reporting, documentation, examples, extra testing, or new features feel free to create an issue, or better yet, [submit a Pull Request. For more information on contribution please see our Contributing guide.

License

Copyright (c) 2017 Par 6 Tecnologia LTDA; Licensed under Apache 2.0.

1.0.2

5 years ago

1.0.1

6 years ago

0.1.1

7 years ago

0.1.0

7 years ago