mirror of
				https://github.com/KevinMidboe/termForecast.git
				synced 2025-10-29 18:00:17 +00:00 
			
		
		
		
	Starting class with todo list for first development
This commit is contained in:
		
							
								
								
									
										22
									
								
								term_weather.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								term_weather.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | |||||||
|  | #!/usr/bin/env python3.6 | ||||||
|  | # -*- coding: utf-8 -*- | ||||||
|  | # @Author: KevinMidboe | ||||||
|  | # @Date:   2017-07-27 21:26:53 | ||||||
|  | # @Last Modified by:   KevinMidboe | ||||||
|  | # @Last Modified time: 2017-07-27 21:33:30 | ||||||
|  |  | ||||||
|  | # TOD LIST | ||||||
|  | # Get coordinates from IP | ||||||
|  | # Fetch coordinates from YR | ||||||
|  | # Parse return data | ||||||
|  | # Match wheater description to icons  | ||||||
|  |  | ||||||
|  | import fire | ||||||
|  |  | ||||||
|  | class termWeather(object): | ||||||
|  | 	 | ||||||
|  | 	def fetch(self, town): | ||||||
|  | 		pass | ||||||
|  |  | ||||||
|  | if __name__ == '__main__': | ||||||
|  | 	fire.Fire(termWeather) | ||||||
		Reference in New Issue
	
	Block a user