Skip to content

hxiong/MyWeatherMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyWeatherMap

Class MyWeatherMap inherits OpenWeatherMap; it can be instantiated to check weather by feed in city name or zip code;

featured methods

get current weather json object

MyWeatherMap mwm = new MyWeatherMap(""); # create map object CurrentWeather cwd = mwm.currentWeatherByCityName(cityName); # search by city name CurrentWeather cwd = mwm.currentWeatherByZipCode(zipCode); # search by zip code

get temperature

cwd.getMainInstance.getTemperature();

get cityname

mwm.getCityName();

get weather description

cwd.getWeatherInstance(0).getWeatherDescription();

more methods, check the source files

About

check weather by type in city name or zip code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages