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

Sign up
Appearance settings

Weather API is a simple script that shows weather report using the Open Weather API

Notifications You must be signed in to change notification settings

prashantpgit/weatherapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

13 Commits

Repository files navigation

weatherapi

Weather API is a simple script that shows weather report using the Open Weather API.

Script Requirements: Apache Web server , PHP

Steps to use the script :

  1. Create account on https://openweathermap.org/ and a default API key shall be generated for you here https://home.openweathermap.org/api_keys

  2. Rename .env.example to .env and add that API key generated in step1 to 'API_KEY' variable in .env file.

  3. Get composer :

curl -sS https://getcomposer.org/installer | php
  1. Install dependencies
php composer.phar install
  1. Visit the URL and enter city name and the weather report shall be displayed.

  2. Enjoy !! πŸš€

About

Weather API is a simple script that shows weather report using the Open Weather API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /