Versions in this module Expand all Collapse all v0 v0.0.3 Oct 17, 2019 Changes in this version + const GroupEbird + const GroupMerlin + const RegionCountry + const RegionDetailed + const RegionDetailedNoQual + const RegionFull + const RegionNameOnly + const RegionNameQual + const RegionRevDetailed + const RegionSubnational1 + const RegionSubnational2 + type Checklist struct + LocID string + Location struct{ ... } + NumSpecies int64 + ObsDay int64 + ObsDt string + ObsMonth string + ObsTime string + ObsYear int64 + SubID string + UserDisplayName string + type Client struct + func NewClient(key string, httpClient *http.Client) (*Client, error) + func (c *Client) AdjacentRegions(ctx context.Context, region string) ([]Region, error) + func (c *Client) Checklist(ctx context.Context, id string) (Checklist, error) + func (c *Client) ChecklistFeed(ctx context.Context, region string, when time.Time, max int) ([]Checklist, error) + func (c *Client) HistoricObs(ctx context.Context, region string, when time.Time, opts ObsOpts) ([]Obs, error) + func (c *Client) HotspotInfo(ctx context.Context, hotspot string) (HotspotInfo, error) + func (c *Client) NearbyHotspots(ctx context.Context, x, y float64) ([]Hotspot, error) + func (c *Client) NearestSpeciesObs(ctx context.Context, x, y float64, species string, opts ObsOpts) ([]Obs, error) + func (c *Client) RecentChecklists(ctx context.Context, region string, max int) ([]Checklist, error) + func (c *Client) RecentNearbyObs(ctx context.Context, x, y float64, dist int, notable bool, locale string, ...) ([]Obs, error) + func (c *Client) RecentNearbySpeciesObs(ctx context.Context, x, y float64, dist int, species string, opts ObsOpts) ([]Obs, error) + func (c *Client) RecentRegionObs(ctx context.Context, region string, notable bool, opts ObsOpts) ([]Obs, error) + func (c *Client) RecentRegionSpeciesObs(ctx context.Context, region, species string, opts ObsOpts) ([]Obs, error) + func (c *Client) RegionHotspots(ctx context.Context, region string) ([]Hotspot, error) + func (c *Client) RegionInfo(ctx context.Context, region string, format RegionFormat, delim string) (RegionInfo, error) + func (c *Client) RegionStats(ctx context.Context, region string, when time.Time) (Stats, error) + func (c *Client) SubregionList(ctx context.Context, regionType RegionType, parentRegion string) ([]Region, error) + func (c *Client) Taxonomy(ctx context.Context, species []string) ([]Taxa, error) + func (c *Client) TaxonomyForms(ctx context.Context, species string) ([]string, error) + func (c *Client) TaxonomyGroups(ctx context.Context, group Group, locale string) ([]TaxaGroup, error) + func (c *Client) TaxonomyVersions(ctx context.Context) ([]TaxaVersion, error) + func (c *Client) Top100(ctx context.Context, region string, when time.Time, sort bool, max int) ([]User, error) + type Group string + type Hotspot struct + CountryCode string + LocationID string + LocationName string + SubnationalCode1 string + SubnationalCode2 string + X float64 + Y float64 + type HotspotInfo struct + CountryName string + HierarchacalName string + IsHotspot bool + Name string + type Obs struct + CommonName string + HowMany int64 + Latitude float64 + LocID string + LocName string + LocPrivate bool + Longitude float64 + ObsDT string + Reviewed bool + ScientificName string + SpeciesCode string + Valid bool + func (obs Obs) When() time.Time + type ObsOpts struct + Back int + Categories string + HotspotsOnly bool + IncludeProv bool + MaxResults int + Region string + type Region struct + Code string + Name string + type RegionFormat string + type RegionInfo struct + Bounds struct{ ... } + Result string + type RegionType string + type Stats struct + NumChecklists int64 + NumContributors int64 + NumSpecies int64 + type Taxa struct + BandingCodes []string + Category string + CommonName string + CommonNameCodes []string + Extinct bool + ExtinctYear int + FamilyCommon string + FamilyScientific string + Order string + ReportAs string + ScientificName string + ScientificNameCodes []string + SpeciesCode string + TaxaOrder float64 + type TaxaGroup struct + GroupName string + GroupOrder int + TaxonOrderBounds [][]float64 + type TaxaVersion struct + AuthorityVersion float64 + Latest bool + type User struct + DisplayName string + ID string + NumCompleteChecklists int + NumSpecies int + ProfileHandle string + RowNum int