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

weatherApp #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

weatherApp #85

wants to merge 1 commit into from

Conversation

preethi900
Copy link

The weatherApp written using Javascript gives the weather of any place.It uses API calls to fetch the weather.
Follow the steps the get the weather.

1.Install node
2.For this project we’ll be using the Free ‘Current Weather’ API.Follow the given link "https://openweathermap.org/appid" sign up and get a free Key.Use this Key for the apiKey variable in the index.js file.
3.Run "npm init" and fill up the necessary information.
4.Run the command "npm install request --save"
5.Run the command "npm install yargs --save"
6.Run "node ./index.js -c Seattle" to get the current weather of Seattle.You can run with any city to get that particular city weather.

Output:
It's 79 Fahrenheit in Seattle

@preethi900
Copy link
Author

If you are ok with the app can you please add "hacktoberfest-accepted" label to it ???

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

Successfully merging this pull request may close these issues.

1 participant