Some geolocation call test code.
This commit is contained in:
parent
4b878c5f27
commit
de780ae2f0
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user