EDGAR Getter is a Go package for downloading company periodic reports, filings and forms from Securities and Exchange Commission (SEC) EDGAR site.
go get -u github.com/RelateTheNews/go-edgar-getter
package main
import "github.com/RelateTheNews/go-edgar-getter"
func main(){
var g getter.Getter
var getURI string
// Note this is a sample URI. Must verify correct URIs on www.sec.gov
getURI = "https://www.sec.gov/Archives/edgar/Feed/2013/QTR1/"
g.NewGetter()
// files is a list of successfully retrieved files
files := g.RetrieveURIs(getURI, 0)
fmt.Println(len(files))
}
Contributions are greatly appreciated. The maintainers actively manage the issues list. For a list of primary maintainers see ./MAINTAINERS.md. The project follows the typical GitHub pull request model. Before starting any work, please either comment on an existing issue, or file a new one.