Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including doctoralia with all npm packages installed. Try it out:

var doctoralia = require("doctoralia")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

doctoralia v0.0.2

Doctoralia API unofficial wrapper, helps you search for Doctors and Medical Centers in the world.

Doctoralia Node.js wrapper

This is a simple wrapper for the Doctoralia API.

Doctoralia.com is the global platform for Doctors' appointments. Their API let you search for doctors and medical centers in 11 different countries in the world.

Installing

`npm install doctoralia

Developer Portal

On the portal you will find API keys and documention.https://developer.doctoralia.com/

The official Doctoralia API documentation can be found at https://developer.doctoralia.com/docs.

Usage

var Doctoralia = require('doctoralia');

var doc = new Doctoralia('YOUR_API_KEY');

// Get the countries where Doctoralia is available
doc.getCountries(function(err,result){
    console.log(result);
});

// Get all the medical specialities available in France 
doc.getSpecialitiesByCountryId('fr',function(err,result){
    console.log(result);
});

// Returns a list of professionals in France 
// specialityId: 1136 is cancerolgy
// provinceId: 10069 is Charente Maritime
doc.getProfessionals('fr',{
            specialityId: 1136,
            provinceId: 10069
        },function(err,result){
    console.log(result);
});
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free