anybuddy-node-client

1.1.1 • Public • Published

Anybuddy - NodeJs Client API

Anybuddy NodeJs client API

Installation

Use the package manager npm to install Anybuddy API Client.

npm install --save anybuddy

Usage

const anybuddy = require('anybuddy-node-client')
 or
const { Organizer, Booking } = require('anybuddy-node-client)

const OrganizerApi = new anybuddy.Organizer(hostUrl, apiKey, authToken)
const BookingApi = new anybuddy.Booking(hostUrl, apiKey, authToken)

OrganizerApi.getById()             // get user by id
OrganizerApi.getByEmail()          // Get user by email
OrganizerApi.add()                 // Add user - return authentication token

BookingApi.search().               // Get search suggestions 
BookingApi.availabilities().       // Get courts availabilities
BookingApi.centerAvailabilities()  // Get Center availabilities
BookingApi.centerInfo()            // Ge center information
BookingApi.centerFeedbacks().      // Get center reviews


## License
[MIT](https://choosealicense.com/licenses/mit/)

Readme

Keywords

none

Package Sidebar

Install

npm i anybuddy-node-client

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

4.63 kB

Total Files

7

Last publish

Collaborators

  • jquiceno
  • juanbarrios18