Crate ipinfodb [] [src]

Structs

GeoInfo

Functions

query

Queries api for geolocation info. 'api_key' The api key provided from ipinfodb, needed for making requests against api. 'ip' The ip to query geolocation for, optional, if left out, the api will query current's ip geolocation.