ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Tool_Box/ParseOpenWeather.py
Revision: 625
Committed: Fri Nov 4 15:13:48 2016 UTC (9 years, 4 months ago) by nino.borges
Content type: text/x-python
File size: 361 byte(s)
Log Message:
version 1

File Contents

# User Rev Content
1 nino.borges 625 """
2     ParseOpenWeather.py
3    
4     My implementation of the openweathermaps api for getting weather data
5    
6     """
7    
8     import json, datetime
9    
10     class GetWeather (object):
11     'API for getting weather information from the openweathermaps site'
12    
13     version = ".01"
14     mainSite = r"http://api.openweathermaps.org/data/2.5"
15    
16     def __init__(self):
17     pass
18    
19     def