ebird-api-0.2.0.0: A Haskell description of the eBird API
Copyright(c) 2023 Finley McIlwaine
LicenseMIT (see LICENSE)
MaintainerFinley McIlwaine <finleymcilwaine@gmail.com>
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.EBird.API.Checklists

Description

Types related to eBird checklist API values.

Synopsis

Checklist types

data Checklist Source #

Values returned by the ViewChecklistAPI

Constructors

Checklist 

Fields

Instances

Instances details
Read Checklist Source # 
Instance details

Defined in Data.EBird.API.Checklists

Show Checklist Source # 
Instance details

Defined in Data.EBird.API.Checklists

Eq Checklist Source # 
Instance details

Defined in Data.EBird.API.Checklists

FromJSON Checklist Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

ToJSON Checklist Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Bool, b ~ Bool) => LabelOptic "allObsReported" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "checklistId" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ EBirdDateTime, b ~ EBirdDateTime) => LabelOptic "creationDateTime" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Maybe Double, b ~ Maybe Double) => LabelOptic "durationHours" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "effortDistanceEnteredUnit" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Maybe Double, b ~ Maybe Double) => LabelOptic "effortDistanceKm" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "groupId" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ EBirdDateTime, b ~ EBirdDateTime) => LabelOptic "lastEditedDateTime" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "locationId" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Integer, b ~ Integer) => LabelOptic "numObservers" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Integer, b ~ Integer) => LabelOptic "numSpecies" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ [ChecklistObservation], b ~ [ChecklistObservation]) => LabelOptic "obs" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ EBirdDateTime, b ~ EBirdDateTime) => LabelOptic "obsDateTime" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Bool, b ~ Bool) => LabelOptic "obsTimeValid" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "projectId" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "protocolId" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ [SubAux], b ~ [SubAux]) => LabelOptic "subAux" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ [SubAuxAI], b ~ [SubAuxAI]) => LabelOptic "subAuxAI" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "subId" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "submissionMethodCode" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "submissionMethodVersion" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "submissionMethodVersionDisp" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Region, b ~ Region) => LabelOptic "subnational1Code" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "userDisplayName" k Checklist Checklist a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

data ChecklistObservation Source #

Observation values included in checklists.

Constructors

ChecklistObservation 

Fields

Instances

Instances details
Read ChecklistObservation Source # 
Instance details

Defined in Data.EBird.API.Checklists

Show ChecklistObservation Source # 
Instance details

Defined in Data.EBird.API.Checklists

Eq ChecklistObservation Source # 
Instance details

Defined in Data.EBird.API.Checklists

FromJSON ChecklistObservation Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

ToJSON ChecklistObservation Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "howManyStr" k ChecklistObservation ChecklistObservation a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ EBirdDateTime, b ~ EBirdDateTime) => LabelOptic "obsDateTime" k ChecklistObservation ChecklistObservation a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "obsId" k ChecklistObservation ChecklistObservation a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ SpeciesCode, b ~ SpeciesCode) => LabelOptic "speciesCode" k ChecklistObservation ChecklistObservation a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

data SubAux Source #

Values included in the checklistSubAux field of Checklists.

Constructors

SubAux 

Fields

Instances

Instances details
Read SubAux Source # 
Instance details

Defined in Data.EBird.API.Checklists

Show SubAux Source # 
Instance details

Defined in Data.EBird.API.Checklists

Eq SubAux Source # 
Instance details

Defined in Data.EBird.API.Checklists

Methods

(==) :: SubAux -> SubAux -> Bool #

(/=) :: SubAux -> SubAux -> Bool #

FromJSON SubAux Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

ToJSON SubAux Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "auxCode" k SubAux SubAux a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "entryMethodCode" k SubAux SubAux a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "fieldName" k SubAux SubAux a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "subId" k SubAux SubAux a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

data SubAuxAI Source #

Values included in the checklistSubAuxAI field of Checklists.

Constructors

SubAuxAI 

Fields

Instances

Instances details
Read SubAuxAI Source # 
Instance details

Defined in Data.EBird.API.Checklists

Show SubAuxAI Source # 
Instance details

Defined in Data.EBird.API.Checklists

Eq SubAuxAI Source # 
Instance details

Defined in Data.EBird.API.Checklists

FromJSON SubAuxAI Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

ToJSON SubAuxAI Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "method" k SubAuxAI SubAuxAI a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "source" k SubAuxAI SubAuxAI a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "subId" k SubAuxAI SubAuxAI a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "type" k SubAuxAI SubAuxAI a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

data ChecklistFeedEntry Source #

eBird checklists. Note that we do not include some redundant fields of checklist values returned by the API (e.g. subID, which is always the same value as subId).

Constructors

ChecklistFeedEntry 

Fields

Instances

Instances details
Read ChecklistFeedEntry Source # 
Instance details

Defined in Data.EBird.API.Checklists

Show ChecklistFeedEntry Source # 
Instance details

Defined in Data.EBird.API.Checklists

Eq ChecklistFeedEntry Source # 
Instance details

Defined in Data.EBird.API.Checklists

FromJSON ChecklistFeedEntry Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

ToJSON ChecklistFeedEntry Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ EBirdDate, b ~ EBirdDate) => LabelOptic "date" k ChecklistFeedEntry ChecklistFeedEntry a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ LocationData, b ~ LocationData) => LabelOptic "locationData" k ChecklistFeedEntry ChecklistFeedEntry a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "locationId" k ChecklistFeedEntry ChecklistFeedEntry a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Integer, b ~ Integer) => LabelOptic "numSpecies" k ChecklistFeedEntry ChecklistFeedEntry a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "subId" k ChecklistFeedEntry ChecklistFeedEntry a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ EBirdTime, b ~ EBirdTime) => LabelOptic "time" k ChecklistFeedEntry ChecklistFeedEntry a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "userDisplayName" k ChecklistFeedEntry ChecklistFeedEntry a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

data LocationData Source #

eBird checklist or hotspot location data. Note that we do not include some redundant fields of location data values returned by the API (e.g. locName, which is always the same value as name).

Constructors

LocationData 

Fields

Instances

Instances details
Read LocationData Source # 
Instance details

Defined in Data.EBird.API.Checklists

Show LocationData Source # 
Instance details

Defined in Data.EBird.API.Checklists

Eq LocationData Source # 
Instance details

Defined in Data.EBird.API.Checklists

FromJSON LocationData Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

ToJSON LocationData Source #

Explicit instance for compatibility with their field names

Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Region, b ~ Region) => LabelOptic "countryCode" k LocationData LocationData a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "countryName" k LocationData LocationData a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "heirarchicalName" k LocationData LocationData a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Bool, b ~ Bool) => LabelOptic "isHotspot" k LocationData LocationData a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Double, b ~ Double) => LabelOptic "latitude" k LocationData LocationData a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Double, b ~ Double) => LabelOptic "longitude" k LocationData LocationData a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "name" k LocationData LocationData a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Region, b ~ Region) => LabelOptic "subnational1Code" k LocationData LocationData a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "subnational1Name" k LocationData LocationData a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Region, b ~ Region) => LabelOptic "subnational2Code" k LocationData LocationData a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "subnational2Name" k LocationData LocationData a b Source # 
Instance details

Defined in Data.EBird.API.Checklists

Auxiliary eBird checklist-related API types

data SortChecklistsBy Source #

How to rank the list returned by the Top100API.

Constructors

SortChecklistsByDateCreated

Sort checklists by the date of the observations they contain

SortChecklistsByDateSubmitted

Sort checklists by the date they were submitted

Instances

Instances details
IsString SortChecklistsBy Source #

Use this instance carefully! It throws runtime exceptions if the string is malformatted.

Instance details

Defined in Data.EBird.API.Checklists

Read SortChecklistsBy Source # 
Instance details

Defined in Data.EBird.API.Checklists

Show SortChecklistsBy Source # 
Instance details

Defined in Data.EBird.API.Checklists

EBirdString SortChecklistsBy Source #

The eBird string for a SortChecklistsBy value is either "obs_dt" or "creation_dt".

Instance details

Defined in Data.EBird.API.Checklists

Eq SortChecklistsBy Source # 
Instance details

Defined in Data.EBird.API.Checklists

ToHttpApiData SortChecklistsBy Source # 
Instance details

Defined in Data.EBird.API.Checklists

Optics for checklist types

attoparsec parsers