Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllaBolagScraper ¶
type AllaBolagScraper struct{}
AllaBolagScraper is an implementation of CompanyInfoScraper fetching info from allabolag.se.
func NewAllaBolagScraper ¶
func NewAllaBolagScraper() *AllaBolagScraper
NewAllaBolagScraper returns a new AllaBolagScraper
func (*AllaBolagScraper) Details ¶
func (s *AllaBolagScraper) Details(comp Company) (*CompanyDetails, error)
Details returns details about a specific company.
type CompanyDetails ¶
type CompanyDetails struct { Company FiscalDetails []FiscalDetails }
CompanyDetails represents further details about a company.
type CompanyInfoScraper ¶
type CompanyInfoScraper interface { Search(term string) ([]Company, error) Details(c Company) (*CompanyDetails, error) }
CompanyInfoScraper represents a generic scraper of company information.
type FiscalDetails ¶
FiscalDetails represents the financial information about a company for one year.
type ParsedCompany ¶ added in v0.2.3
Click to show internal directories.
Click to hide internal directories.