https://github.com/vinceecws/project-0
Scala-based CLI app for reporting & forecasting the weather of any city in the U.S.
https://github.com/vinceecws/project-0
command-line-interface openweather-api scala weather
Last synced: about 1 year ago
JSON representation
Scala-based CLI app for reporting & forecasting the weather of any city in the U.S.
- Host: GitHub
- URL: https://github.com/vinceecws/project-0
- Owner: vinceecws
- Created: 2021-07-13T21:37:43.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-16T18:17:55.000Z (over 4 years ago)
- Last Synced: 2025-01-21T17:50:55.778Z (over 1 year ago)
- Topics: command-line-interface, openweather-api, scala, weather
- Language: Scala
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project-0
## Weather App
This app was built entirely on Scala 2.13 and compiles with sbt. It uses the OpenWeather API's One-Call API endpoint to get weather data from any U.S. city. To run it, ensure that your local machine has Scala 2.13 and sbt installed.
After cloning the repository, navigate to the project's root directory (i.e. where build.sbt is located). Get your API key from OpenWeather and replace with it the value to the variable apiKey in p0's main() method.
Then, do `run sbt` on a shell.
### Functionalities
1) Reports current weather, temperature & other meteorological data for the requested city.
2) Plots a scatter graph of the 60-minute forecast of precipitation in the city.
3) Plots a scatter graph of the hourly forecast of temperature in the city for the next 24 hours.
4) Displays the weather forecast of the city for the next 7 days.