Skip to content

kv-95/Weather-Forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

<===================== READ ME =====================>

THIS IS A WEATHER FORECAST APPLICATION MADE IN PYTHON. THE APPLICATION SENDS A SOAP REQUEST TO NDFD SERVER AND RECIEVES A SOAP RESPONSE. THE RESPONSE WILL INCLUDE THE FORECAST DATA PROVIDED BY THE NWS.

FOR MORE INFORMATION VISIT - https://graphical.weather.gov/xml/

THE APPLICATION IS INTENDED FOR LEARNING SOAP XML REQUEST/RESPONSE.

/* CONTENTS :

WeatherForecast.py - PYTHON APPLICATION TO SEND SOAP REQUEST TO WEATHER INFORMATION SERVER AND RETRIEVE SOAP RESPONSE AND SAVE IT ON LOCAL DEVICE.

*/

/* INSTRUCTIONS TO RUN APPLICATION

  1. OPEN 'WeatherForecast.py' IN A CODE EDITOR.
  2. SPECIFY THE PATH AT WHICH XML MUST BE CREATED AT LINE 88. (LEAVE THE PATH AS SUCH IF YOU HAVE APACHE AND WANT TO VIEW XML USING XAMPP)
  3. RUN THE APPLICATION. THE OUTPUT WILL BE GENERATED AT THE END OF EXECUTION. */

/* INSTRUCTION TO VIEW XML

METHOD - USING XAMPP (APACHE)

  1. RUN THE PYTHON APPLICATION
  2. RUN APACHE SERVER
  3. OPEN BRWSER AND GO TO "http://localhost/WeatherInfo.xml"

METHOD - OPEN XML MANUALLY

  1. OPEN CODE IN PYTHON EDITOR
  2. CHANGE " location = "C:/xampp/htdocs/WeatherInfo.xml" " TO " location = "WeatherInfo.xml " AT LINE 88
  3. XML FILE WILL BE GENERATED ON THE SAME FOLDER WHERE CODE IS PRESENT.
  4. OPEN THE XML USING A BROWSER */

About

Python Weather Forecast Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages