Some geolocation call test code.

This commit is contained in:
Jonathan Williams 2015-03-15 19:28:38 -07:00
parent 4b878c5f27
commit de780ae2f0

View File

@ -17,6 +17,7 @@ import java.util.logging.Logger;
import mineplex.bungee.api.ApiDeleteCall;
import mineplex.bungee.api.ApiGetCall;
import mineplex.bungee.api.ApiPostCall;
import mineplex.bungee.api.HttpCallBase;
import mineplex.bungee.api.token.ARecord;
import mineplex.bungee.api.token.DnsRecord;
import mineplex.bungee.api.token.DomainRecords;
@ -38,6 +39,12 @@ public class BungeeRotator
public static void main(String args[])
{
/*
IPGeoData recor = new HttpCallBase("http://www.freegeoip.net/json/124.149.22.183").Execute(IPGeoData.class);
System.out.println(recor.country_name + " " + recor.region_name);
*/
try
{
Class.forName("com.mysql.jdbc.Driver");