There's a site called NPI registry lookup which will show the information about the doctor you're searching for. Here's the URL https://npiregistry.cms.hhs.gov/registry/search-results-table?number=1023070703. This will list the information in table form for the doctor whose NPI number is 1023070703
, for example. What I want to do is build an angular site that will allow users to enter the NPI number, which I'd get the data using $http.get(url)
. I received the data but it's HTML instead of just the values. How can I parse the HTML table so that I can only pick the data I need? Or is there another better way of fetching the data?
It may sound silly to create another site when there already exists one, but it's for internal purpose only which we need to save a list of doctors that are not yet in our list.
importHTML
in google spreadsheet. If you read the question, I mentioned that I used$http.get(url)
which gave me html. That's what I tried in this context