RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

Geonames

Open AntonNel opened this issue 10 years ago • 2 comments

I know this is of minor concern, but the reason for it showing an error most of the time:

<geonames>
<status message="the daily limit of 30000 credits for pokemongobot has been exceeded. Please throttle your requests or use the commercial service." value="18"/>
</geonames>

AntonNel avatar Aug 03 '16 05:08 AntonNel

Yeah, we hit 30,000 usage everyday pretty fast :D

brianzhouzc avatar Aug 03 '16 07:08 brianzhouzc

I just comment out these lines. Making an unnecessary web service call (twice) just wastes time in my opinion.

            //try
            //{
            //    ColoredConsoleWrite(Color.DarkGray, "Country: " + CallAPI("country", lat2.Replace(',', '.'), longit2.Replace(',', '.')));
            //    ColoredConsoleWrite(Color.DarkGray, "Area: " + CallAPI("place", lat2.Replace(',', '.'), longit2.Replace(',', '.')));
            //}
            //catch (Exception)
            //{
            //    ColoredConsoleWrite(Color.DarkGray, "Unable to get Country/Place");
            //}

BillOatman avatar Aug 03 '16 14:08 BillOatman