Jasmine Luo • almost 5 years ago
retrieve detailed location of HCP from SDK
is there a way to retrieve the accurate locations of the HCP, such as the lattitude, programmatically from the SDK?
Comments are closed.
Jasmine Luo • almost 5 years ago
is there a way to retrieve the accurate locations of the HCP, such as the lattitude, programmatically from the SDK?
Comments are closed.
3 comments
Nongnooch Roongpiboonsopit • almost 5 years ago
Hi Jasmine, I believe you can use the 'activities' in GraphQL to programmatically query for a location (GeopointQuery) of a specific HCP
https://docs.healthcarelocator.com/index.htm#t=GraphQL%2Factivities_GET_operation.htm
The following post might be helpful for you help you get started or play with various queries in the GraphQL GUI before integrating it in your app
https://healthcareappchallenge.devpost.com/forum_topics/35063-near-me-feature-specialty-code
HTH!
Jasmine Luo • almost 5 years ago
Hi, thank you for all the information. However, I was unable to get to the playground page with my API "subscription key".
I tried with this link: https://api.healthcarelocator.com/api/graphql/query?subscription-key=[myapikey]
Did you use the javascript API key provided in the email?
emmanuel valentin Manager • almost 5 years ago
Hi Jasmine,
The playground is available at https://api.healthcarelocator.com/api/graphql?subscription-key=[myapikey]
Be sure to add your subscription key as http header in the bottom left frame on the playground, add
{
"Ocp-Apim-Subscription-Key":"[myapikey]"
}
emmanuel