ebirdcog package

Submodules

ebirdcog.api module

Module to access eBird API.

class ebirdcog.api.EBirdAPI(cog)[source]

Bases: object

EBird API helper class.

await get_api_key(channel)[source]

Gets API key.

await get_region(channel, region_code)[source]

Gets region.

ebirdcog.ebirdcog module

Module to access eBird API.

class ebirdcog.ebirdcog.EBirdCog(*args: Any, **kwargs: Any)[source]

Bases: Cog

An eBird commands cog.

checkdays = <redbot.core.commands.commands.Command object>
checkregion = <redbot.core.commands.commands.Command object>
ebird = <redbot.core.commands.commands.Group object>
await get_hybrid_observations(ctx, region_code, days)[source]

Gets recent hybrid observations.

hybrids = <redbot.core.commands.commands.Command object>
setdays = <redbot.core.commands.commands.Command object>
setregion = <redbot.core.commands.commands.Command object>
class ebirdcog.ebirdcog.ObsRecord(date_format='%d %b, %Y', datetime_format='%H:%M, %d %b, %Y', **kwargs)[source]

Bases: dict

A human-readable observation record.

Module contents

EbirdCog init.

await ebirdcog.setup(bot: Red) None[source]

Load eBird cog.