Package io.ipdata.client.service
Interface IpdataService
-
public interface IpdataService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsnModelasn(String ip)List<IpdataModel>bulk(List<String> ips)IpdataModel[]bulkAsArray(List<String> ips)Currencycurrency(String ip)StringgetCallingCode(String ip)StringgetCity(String ip)StringgetContinentCode(String ip)StringgetCountryCode(String ip)StringgetCountryName(String ip)StringgetEmojiFlag(String ip)StringgetEmojiUnicode(String ip)IpdataModelgetFields(String ip, IpdataField<?>... fields)StringgetFlag(String ip)StringgetIp(String ip)doublegetLatitude(String ip)doublegetLongitude(String ip)StringgetOrganisation(String ip)StringgetPostal(String ip)IpdataModelipdata(String ip)booleanisEu(String ip)ThreatModelthreat(String ip)TimeZonetimeZone(String ip)
-
-
-
Method Detail
-
ipdata
IpdataModel ipdata(String ip) throws IpdataException
- Throws:
IpdataException
-
bulk
List<IpdataModel> bulk(List<String> ips) throws IpdataException
- Throws:
IpdataException
-
bulkAsArray
IpdataModel[] bulkAsArray(List<String> ips) throws IpdataException
- Throws:
IpdataException
-
getFields
IpdataModel getFields(String ip, IpdataField<?>... fields) throws IpdataException
- Throws:
IpdataException
-
getIp
String getIp(String ip) throws IpdataException
- Throws:
IpdataException
-
isEu
boolean isEu(String ip) throws IpdataException
- Throws:
IpdataException
-
getCity
String getCity(String ip) throws IpdataException
- Throws:
IpdataException
-
getCountryName
String getCountryName(String ip) throws IpdataException
- Throws:
IpdataException
-
getCountryCode
String getCountryCode(String ip) throws IpdataException
- Throws:
IpdataException
-
getContinentCode
String getContinentCode(String ip) throws IpdataException
- Throws:
IpdataException
-
getLongitude
double getLongitude(String ip) throws IpdataException
- Throws:
IpdataException
-
getLatitude
double getLatitude(String ip) throws IpdataException
- Throws:
IpdataException
-
getOrganisation
String getOrganisation(String ip) throws IpdataException
- Throws:
IpdataException
-
getPostal
String getPostal(String ip) throws IpdataException
- Throws:
IpdataException
-
getCallingCode
String getCallingCode(String ip) throws IpdataException
- Throws:
IpdataException
-
getFlag
String getFlag(String ip) throws IpdataException
- Throws:
IpdataException
-
getEmojiFlag
String getEmojiFlag(String ip) throws IpdataException
- Throws:
IpdataException
-
getEmojiUnicode
String getEmojiUnicode(String ip) throws IpdataException
- Throws:
IpdataException
-
asn
AsnModel asn(String ip) throws IpdataException
- Throws:
IpdataException
-
timeZone
TimeZone timeZone(String ip) throws IpdataException
- Throws:
IpdataException
-
currency
Currency currency(String ip) throws IpdataException
- Throws:
IpdataException
-
threat
ThreatModel threat(String ip) throws IpdataException
- Throws:
IpdataException
-
-