Consider this a challenge. I was going to add a few other features but didn't feel like finishing the basics. /
I would like you all to play around with it. Add a button instead of loading weather on load.
Add "share this with twitter and facebook", which will share a link to mpgh.net and the weather conditions in your city.
and any features you would like to add, have fun with it.
[php]
' creates a new instance call of api
' use something more practical then nyweaher, just called them the city for tests
Dim nyWeather = Animaonline.Weather.GoogleWeatherAPI.GetWeather(An imaonline.Globals.LanguageCode.en_US, TextBox1.Text & "," & TextBox2.Text)
'changes image to appropriate images
If Label1.Text = "Sunny" Then PictureBox1.Image = My.Resources.ResourceManager.GetObject("36")
If Label1.Text = "Partly Sunny" Then PictureBox1.Image = My.Resources.ResourceManager.GetObject("28")
If Label1.Text = "Partly Cloudy" Then PictureBox1.Image = My.Resources.ResourceManager.GetObject("30")
[/php]
Yes i know there our a few small snippets that will work better (for those who see it) however I am keeping it basic