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');
doc.getCountries(function(err,result){
console.log(result);
});
doc.getSpecialitiesByCountryId('fr',function(err,result){
console.log(result);
});
doc.getProfessionals('fr',{
specialityId: 1136,
provinceId: 10069
},function(err,result){
console.log(result);
});