Skip to content

Add weather extension with API integration#5

Open
chrisdedman wants to merge 17 commits into
mainfrom
ext-weather
Open

Add weather extension with API integration#5
chrisdedman wants to merge 17 commits into
mainfrom
ext-weather

Conversation

@chrisdedman
Copy link
Copy Markdown
Contributor

  • Added weather extension (ported from Grace Bot and adapted for Ada Bot).
  • Required to get our own ADA_OPENWEATHER_API_KEY var env.
  • Also ran black formatting locally on the codebase.

@chrisdedman chrisdedman self-assigned this Apr 13, 2026
Comment thread bot/extensions/weather_extension.py Outdated
Comment thread bot/extensions/weather_extension.py Outdated
Comment thread bot/extensions/weather_extension.py Outdated
Comment thread bot/extensions/weather_extension.py Outdated
Comment thread bot/extensions/weather_extension.py Outdated
Comment thread bot/extensions/weather_extension.py Outdated
Comment thread bot/extensions/weather_extension.py Outdated
Comment thread bot/extensions/weather/weather_extension.py
Comment thread bot/extensions/weather/openweather_service.py Outdated
Comment thread bot/extensions/weather/openweather_service.py Outdated
Comment thread bot/extensions/weather/openweather_service.py Outdated
Comment thread bot/extensions/weather/openweather_service.py Outdated
Comment thread bot/extensions/weather/weather_extension.py Outdated
Comment thread bot/extensions/weather/openweather_service.py Outdated
Copy link
Copy Markdown
Collaborator

@PenguinBoi12 PenguinBoi12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general it's good but everything related to the weather payload and error don't belong in the helper, it's meant to be a way to validate the data we receive in the service. That's why it's returned by the service.

However, the rest is fine.

Comment thread bot/extensions/weather/weather_helper.py Outdated
Comment thread bot/extensions/weather/weather_helper.py Outdated
Comment thread bot/extensions/weather/weather_helper.py Outdated
Comment thread bot/extensions/weather/weather_helper.py Outdated
@chrisdedman chrisdedman requested a review from PenguinBoi12 May 11, 2026 03:14
Comment thread bot/extensions/weather/weather_helper.py
Copy link
Copy Markdown
Collaborator

@PenguinBoi12 PenguinBoi12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Well done, love it!

Comment thread bot/extensions/weather/weather_extension.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants