endpointwebscraper

package
v0.0.0-...-ee148e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndpointListWebscraper

func EndpointListWebscraper(vendorURL string, vendor string, fileToWriteTo string)

func HTMLtablewebscraper

func HTMLtablewebscraper(vendorURL string, vendor string, fileToWriteTo string)

func OneUpQuerier

func OneUpQuerier(oneUpURL string, fileToWriteTo string)

func WriteEndpointListFile

func WriteEndpointListFile(endpointEntryList EndpointList, fileToWriteTo string) error

WriteEndpointListFile writes the given endpointEntryList to a json file and stores it in the prod resources directory

Types

type EndpointList

type EndpointList struct {
	Endpoints []LanternEntry `json:"Endpoints"`
}

type LanternEntry

type LanternEntry struct {
	URL                 string `json:"URL"`
	OrganizationName    string `json:"OrganizationName"`
	NPIID               string `json:"NPIID"`
	OrganizationZipCode string `json:"OrganizationZipCode"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL