I manage a Discord server made up of regional channels with the objective of publishing rare birds sightings.
I would like to develop a webhook that will use the eBird API ([login to view URL]) to retrieve the relevant sightings and distribute them in the right channel in the following format:
[Species] @ [Location], [Region], [Date of observation], [Name of observer], [Checklist URL]
The text color would depend on the status of rarity: yellow = rare, orange = very rare, red = very very rare.
Two important elements:
1. The eBird API only provides the names of the birds in English, while my server is in French. At this point, I can easily provide a complete list of bird names with translations.
2. The eBird API uses the counties as a base to provide the location of observations. In my region, there are 113 counties. However, on my Discord server, these counties have been grouped into 18 regions (channels). Again, I can provide a list of associated regions and counties.