Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.