Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/adding weather api #193

Open
wants to merge 23 commits into
base: master
Choose a base branch
from

Conversation

Madraceee
Copy link

@Madraceee Madraceee commented Oct 2, 2024

Motivation and Context

Added backend for weatherapi.com

Fixes #158

Description

Code follows the same structure as the other backends, Almost same methods are used to get and modify the data from the API.
Has support for different languages and num of days as well.

Steps for Testing

  1. Get weatherapi API key from weatherapi.com
  2. Add it in the .wegorc file (wth-api-key) and change the backend to "weatherapi"
  3. Run the cli with any place(name, zipcode, lat,long)
    wego london 4

Screenshots

image

Copy link
Collaborator

@kordianbruck kordianbruck left a comment

Choose a reason for hiding this comment

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

Looks great, just tiny changes please!

README.md Outdated Show resolved Hide resolved
backends/weatherapi.com.go Outdated Show resolved Hide resolved
@Madraceee
Copy link
Author

Your changes are done.
Looks like something went wrong with my commits, it has redone again.
Didnt realise it. Sorry for the unnecessary commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

please add backend www.weatherapi.com
4 participants