https://github.com/chinmayeegade/angular_api_weather_app
Weather Forecasting application built with Angular, Weatherstack API and REST framework to retrieve instant, accurate weather information for any location in the world in lightweight JSON format.
https://github.com/chinmayeegade/angular_api_weather_app
angular api rest weather-app
Last synced: about 1 month ago
JSON representation
Weather Forecasting application built with Angular, Weatherstack API and REST framework to retrieve instant, accurate weather information for any location in the world in lightweight JSON format.
- Host: GitHub
- URL: https://github.com/chinmayeegade/angular_api_weather_app
- Owner: Chinmayeegade
- Created: 2022-03-03T06:14:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-26T03:57:31.000Z (about 4 years ago)
- Last Synced: 2025-11-21T19:02:33.002Z (7 months ago)
- Topics: angular, api, rest, weather-app
- Language: TypeScript
- Homepage:
- Size: 201 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WeatherApp
- Weather Forcasting application built with Angular.
- The application uses the Weatherstack API and REST framework to retrieve instant, accurate weather information for
any location in the world in lightweight JSON format.
- Angular is a development platform, built on TypeScript which includes a component-based framework for building scalable web applications, a collection of well-integrated libraries that cover a wide variety of features, including routing, forms management, client-server communication, etc. and a suite of developer tools to help you develop, build, test, and update your code.
# Using WeatherApp
- To use this application, clone this repository using
- $ git clone https://github.com/Chinmayeegade/Angular_API_Weather_App.git
- Generate an API key from https://weatherstack.com/dashboard
- Replace [YOUR_API_KEY] with the generated API key on line 13 in the Angular_API_Weather_App/src/app/apixu.service.ts file.
- getWeather(location : any) {
return this.http.get(
"http://api.weatherstack.com/current?access_key=[YOUR_API_KEY]&query=" + location
);
}
}
- Start the development server
- $ ng serve
- The app will be accessible on http://localhost:4200