RapidAPI logo

Sign Up

Log In

DocPlanner

FREE
By mlebkowski
Updated 3 months ago
Business
-/10
Popularity Score
-
Latency
-
Success Rate

DocPlanner API Documentation

DocPlanner.com enables patients to find great, local physicians online and book an appointment. Choosing a specialist has never been more comfortable.

This API enables to integrate your clinic software with our online booking service.

View API Details
Visits
POSTcalendar.set-hours
GETdoctor.calendars
GETuser.related-doctors
GETvisit.book
GETvisit.cancel
GETvisit.details
Common
GETdoctor.search
GETdoctor.categories
POSTcalendar.set-hours
Authorization:

description

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationOAUTH1
REQUIREDdescription
Required Parameters
calendar_idNUMBER
REQUIRED
hoursSTRING
REQUIREDthis should be a json-encoded array of `DayDefinition` models
methodSTRING
REQUIRED - CONSTANT
Optional Parameters
applies_fromSTRING
OPTIONALA `Y-m-d` date pointing to any monday
Request Snippet
unirest.post("https://znanylekarz.p.rapidapi.com/")
.header("X-RapidAPI-Host", "znanylekarz.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("applies_from=2013-10-28")
.send("hours=[ [ "", "" ], … ]")
.send("method=calendar.set-hours")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://znanylekarz.p.rapidapi.com/")
.header("X-RapidAPI-Host", "znanylekarz.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("applies_from=2013-10-28")
.send("hours=[ [ "…", "…" ], … ]")
.send("method=calendar.set-hours")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication