Query the official eBird API from Haskell.
In your cabal file:
build-depends:
ebird-client
Every eBird API endpoint (as listed in their documentation) is
supported. Use askEBird
to send requests to the official eBird API. Many
requests require an API key, which can be obtained
here.
For example, to get recent observations of Peregrine Falcons in Park County,
Wyoming (using -XOverloadedStrings
):
askEBird $ recentSpeciesObservations apiKey "US-WY-029" "perfal" def
For more examples and documentation, see the library's Hackage documentation.