Merge pull request #676 from fearnlj01/dev

Updating Weather API
This commit is contained in:
Master Kwoth 2016-10-06 07:09:55 +02:00 committed by GitHub
commit bbb325e1a3

View File

@ -55,7 +55,7 @@ namespace NadekoBot.Modules.Searches
{ {
var city = e.GetArg("city").Replace(" ", ""); var city = e.GetArg("city").Replace(" ", "");
var country = e.GetArg("country").Replace(" ", ""); var country = e.GetArg("country").Replace(" ", "");
var response = await SearchHelper.GetResponseStringAsync($"http://api.lawlypopzz.xyz/nadekobot/weather/?city={city}&country={country}").ConfigureAwait(false); var response = await SearchHelper.GetResponseStringAsync($"http://api.ninetales.us/nadekobot/weather/?city={city}&country={country}").ConfigureAwait(false);
var obj = JObject.Parse(response)["weather"]; var obj = JObject.Parse(response)["weather"];