🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

anybuddy-node-client

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anybuddy-node-client

Nodejs anybuddy API client

latest
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

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/)

FAQs

Package last updated on 01 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts