Skip to content

CLI ruby app that uses HTTParty to request from a weather API

Notifications You must be signed in to change notification settings

andreip1/cli_project_weather_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

Welcome to my weather-app gem

Gems required

  • HTTParty
  • Pry (optional, for debugging)

Usage

In order to run the app, execute the 'run' file from the bin folder.
Instructions to use this app will be provided as you enter input in the terminal.

First input will be about the measurment system. Use 'C' for Celsius or 'I' for the Imperial system.

Second input will be your city name

Third input will be the country name and this is optional.
NOTE: Although optional, it's recommended that you type in the name of the country 'United Kingdom' or 'UK' as if there are more than 1 cities in the world with the same name, the program might not return the one you want. For some reason, US is prioritised when it comes to that.

Example: If you type in London without a country, it will return the London from the US.

Commands available:
1. temp - checks the temperature
2. wind - checks the wind speed
3. alert - checks for severe weather alerts

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cli-project. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

Code of Conduct

Everyone interacting in the Cli::Project project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

CLI ruby app that uses HTTParty to request from a weather API

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published