New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

doctoralia

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doctoralia - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

11

app.js

@@ -36,9 +36,6 @@ var Doctoralia = require('doctoralia');

// doc.getProfessionals('fr',{
// specialityId: 1136,
// provinceId: 10069
// },function(err,result){
// console.log(err);
// console.log(result);
// });
doc.getProfessionals('fr',{},function(err,result){
console.log(err);
console.log(result);
});

@@ -45,0 +42,0 @@ // doc.getMedicalCenters('fr',{

{
"name": "doctoralia",
"version": "0.0.1",
"version": "0.0.2",
"description": "Doctoralia API unofficial wrapper, helps you search for Doctors and Medical Centers in the world.",

@@ -5,0 +5,0 @@ "main": "lib/doctoralia.js",

@@ -1,2 +0,43 @@

Doctoralie Node.js wrapper
====
# Doctoralia Node.js wrapper
This is a simple wrapper for the Doctoralia API.
[Doctoralia.com](http://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/](https://developer.doctoralia.com/)
The official Doctoralia API documentation can be found at [https://developer.doctoralia.com/docs](https://developer.doctoralia.com/docs).
## Usage
```js
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);
});
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc