This will pull the following from eBird, within the set radius:
- Recent notable sightings
- Recent sightings (not notable)
- Hotspots
It uses the eBird API, documented at: https://documenter.getpostman.com/view/664302/S1ENwy59.
JSON from eBird is parsed into CSV files, which can be imported into a Google map. That will place the eBird locations on a map.
Add a layer in the map for each CSV, and import the csv into the map. Latitude and longitude are used to place the locations on the map. I usually use the name field as the label.
Within Google Maps, you can adjust the color and icons for the points.
- Clone this project
- Install pyenv, see https://github.com/pyenv/pyenv
- Install the python version seen in
.python-version
in this project- Easy way to do that is
cat .python-version | xargs pyenv install
- Easy way to do that is
- Install poetry:
pip install poetry
- Create a virtual environment, example:
python -m venv ./.cbc-env && source ./.cbc-env/bin/activate
- Install dependencies:
poetry lock && poetry install
- Copy the
sample.env
to.env
and set the values there.- You'll need to sign up for an eBird API key at ebird.org.
python app/circle_data.py
Here's an example how this data can be used. Have a look at https://www.bloomingtoncbc.org/maps to see some more examples. Happy CBCing!