Supports Go v1.19+ and modules. Run the usual
go get -u github.com/hodlgap/edgr
There are 3 easy functions
// GetPublicCompanies returns a list of public companies.
func GetPublicCompanies() ([]Company, error) {...}
// GetFiler gets a single filer from the SEC website based on symbol.
func GetFiler(symbol string) (filer *model.Filer, err error) {...}
// GetFilings gets a list of filings for a single CIK.
func GetFilings(cik, formtype, stoptime string) (filings []SECFiling, err error) {...}