Skip to content

Latest commit

 

History

History

medcorder

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@datafire/medcorder

Client library for Medcorder Nearby Doctor API

Installation and Usage

npm install --save @datafire/medcorder
let medcorder = require('@datafire/medcorder').create();

.then(data => {
  console.log(data);
});

Description

Returns doctors near a client given a lat/lon and autocomplete text.

Actions

doctors

Fetch a list of nearby medical providers

medcorder.doctors({}, context)

Input

  • input object
    • search string: The search text so far for autocomplete
    • latitude number: The latitude of the client, around which to search
    • longitude number: The longitude of the client, around which to search
    • limit integer: The number of results desired

Output

Definitions

doctor

  • doctor object
    • address string
    • address2 string
    • city string
    • county string
    • distance number
    • email string
    • first_name string
    • full_name string
    • gender string
    • last_name string
    • latitude number
    • longitude number
    • specialty string
    • state string
    • title string
    • website string
    • zip string