packages feed

ip2location-io 1.0.0 → 1.1.0

raw patch · 3 files changed

+6/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- DomainWhois: [$sel:admin:ResponseObj] :: ResponseObj -> Contact
- DomainWhois: [$sel:billing:ResponseObj] :: ResponseObj -> Contact
- DomainWhois: [$sel:city:Contact] :: Contact -> String
- DomainWhois: [$sel:country:Contact] :: Contact -> String
- DomainWhois: [$sel:create_date:ResponseObj] :: ResponseObj -> String
- DomainWhois: [$sel:domain:ResponseObj] :: ResponseObj -> String
- DomainWhois: [$sel:domain_age:ResponseObj] :: ResponseObj -> Int
- DomainWhois: [$sel:domain_id:ResponseObj] :: ResponseObj -> String
- DomainWhois: [$sel:email:Contact] :: Contact -> String
- DomainWhois: [$sel:error:ErrorObj] :: ErrorObj -> ErrorInfo
- DomainWhois: [$sel:error_code:ErrorInfo] :: ErrorInfo -> Int
- DomainWhois: [$sel:error_message:ErrorInfo] :: ErrorInfo -> String
- DomainWhois: [$sel:expire_date:ResponseObj] :: ResponseObj -> String
- DomainWhois: [$sel:fax:Contact] :: Contact -> String
- DomainWhois: [$sel:iana_id:Registrar] :: Registrar -> String
- DomainWhois: [$sel:name:Contact] :: Contact -> String
- DomainWhois: [$sel:name:Registrar] :: Registrar -> String
- DomainWhois: [$sel:nameservers:ResponseObj] :: ResponseObj -> [String]
- DomainWhois: [$sel:organization:Contact] :: Contact -> String
- DomainWhois: [$sel:phone:Contact] :: Contact -> String
- DomainWhois: [$sel:region:Contact] :: Contact -> String
- DomainWhois: [$sel:registrant:ResponseObj] :: ResponseObj -> Contact
- DomainWhois: [$sel:registrar:ResponseObj] :: ResponseObj -> Registrar
- DomainWhois: [$sel:status:ResponseObj] :: ResponseObj -> String
- DomainWhois: [$sel:street_address:Contact] :: Contact -> String
- DomainWhois: [$sel:tech:ResponseObj] :: ResponseObj -> Contact
- DomainWhois: [$sel:update_date:ResponseObj] :: ResponseObj -> String
- DomainWhois: [$sel:url:Registrar] :: Registrar -> String
- DomainWhois: [$sel:whois_server:ResponseObj] :: ResponseObj -> String
- DomainWhois: [$sel:zip_code:Contact] :: Contact -> String
- IPGeolocation: [$sel:address_type:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:ads_category:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:ads_category_name:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:alpha3_code:Country] :: Country -> String
- IPGeolocation: [$sel:area_code:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:as:ResponseObj] :: ResponseObj -> String
- IPGeolocation: [$sel:asn:ResponseObj] :: ResponseObj -> String
- IPGeolocation: [$sel:capital:Country] :: Country -> String
- IPGeolocation: [$sel:city:ResponseObj] :: ResponseObj -> Maybe City
- IPGeolocation: [$sel:city_name:ResponseObj] :: ResponseObj -> String
- IPGeolocation: [$sel:code:Continent] :: Continent -> String
- IPGeolocation: [$sel:code:Currency] :: Currency -> String
- IPGeolocation: [$sel:code:Language] :: Language -> String
- IPGeolocation: [$sel:code:Region] :: Region -> String
- IPGeolocation: [$sel:continent:ResponseObj] :: ResponseObj -> Maybe Continent
- IPGeolocation: [$sel:country:ResponseObj] :: ResponseObj -> Maybe Country
- IPGeolocation: [$sel:country_code:ResponseObj] :: ResponseObj -> String
- IPGeolocation: [$sel:country_name:ResponseObj] :: ResponseObj -> String
- IPGeolocation: [$sel:currency:Country] :: Country -> Currency
- IPGeolocation: [$sel:current_time:TimeZoneInfo] :: TimeZoneInfo -> String
- IPGeolocation: [$sel:demonym:Country] :: Country -> String
- IPGeolocation: [$sel:district:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:domain:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:elevation:ResponseObj] :: ResponseObj -> Maybe Int
- IPGeolocation: [$sel:error:ErrorObj] :: ErrorObj -> ErrorInfo
- IPGeolocation: [$sel:error_code:ErrorInfo] :: ErrorInfo -> Int
- IPGeolocation: [$sel:error_message:ErrorInfo] :: ErrorInfo -> String
- IPGeolocation: [$sel:flag:Country] :: Country -> String
- IPGeolocation: [$sel:fraud_score:ResponseObj] :: ResponseObj -> Maybe Int
- IPGeolocation: [$sel:geotargeting:ResponseObj] :: ResponseObj -> Maybe GeoTargeting
- IPGeolocation: [$sel:gmt_offset:TimeZoneInfo] :: TimeZoneInfo -> Int
- IPGeolocation: [$sel:hemisphere:Continent] :: Continent -> [String]
- IPGeolocation: [$sel:idd_code:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:ip:ResponseObj] :: ResponseObj -> String
- IPGeolocation: [$sel:is_botnet:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:is_consumer_privacy_network:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:is_data_center:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:is_dst:TimeZoneInfo] :: TimeZoneInfo -> Bool
- IPGeolocation: [$sel:is_enterprise_private_network:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:is_proxy:ResponseObj] :: ResponseObj -> Bool
- IPGeolocation: [$sel:is_public_proxy:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:is_residential_proxy:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:is_scanner:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:is_spammer:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:is_tor:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:is_vpn:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:is_web_crawler:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:is_web_proxy:ProxyObj] :: ProxyObj -> Bool
- IPGeolocation: [$sel:isp:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:lang:Translation] :: Translation -> Maybe String
- IPGeolocation: [$sel:language:Country] :: Country -> Language
- IPGeolocation: [$sel:last_seen:ProxyObj] :: ProxyObj -> Int
- IPGeolocation: [$sel:latitude:ResponseObj] :: ResponseObj -> Float
- IPGeolocation: [$sel:longitude:ResponseObj] :: ResponseObj -> Float
- IPGeolocation: [$sel:mcc:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:metro:GeoTargeting] :: GeoTargeting -> Maybe String
- IPGeolocation: [$sel:mnc:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:mobile_brand:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:name:City] :: City -> String
- IPGeolocation: [$sel:name:Continent] :: Continent -> String
- IPGeolocation: [$sel:name:Country] :: Country -> String
- IPGeolocation: [$sel:name:Currency] :: Currency -> String
- IPGeolocation: [$sel:name:Language] :: Language -> String
- IPGeolocation: [$sel:name:Region] :: Region -> String
- IPGeolocation: [$sel:net_speed:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:numeric_code:Country] :: Country -> Int
- IPGeolocation: [$sel:olson:TimeZoneInfo] :: TimeZoneInfo -> String
- IPGeolocation: [$sel:population:Country] :: Country -> Int
- IPGeolocation: [$sel:provider:ProxyObj] :: ProxyObj -> String
- IPGeolocation: [$sel:proxy:ResponseObj] :: ResponseObj -> Maybe ProxyObj
- IPGeolocation: [$sel:proxy_type:ProxyObj] :: ProxyObj -> String
- IPGeolocation: [$sel:region:ResponseObj] :: ResponseObj -> Maybe Region
- IPGeolocation: [$sel:region_name:ResponseObj] :: ResponseObj -> String
- IPGeolocation: [$sel:sunrise:TimeZoneInfo] :: TimeZoneInfo -> String
- IPGeolocation: [$sel:sunset:TimeZoneInfo] :: TimeZoneInfo -> String
- IPGeolocation: [$sel:symbol:Currency] :: Currency -> String
- IPGeolocation: [$sel:threat:ProxyObj] :: ProxyObj -> String
- IPGeolocation: [$sel:time_zone:ResponseObj] :: ResponseObj -> String
- IPGeolocation: [$sel:time_zone_info:ResponseObj] :: ResponseObj -> Maybe TimeZoneInfo
- IPGeolocation: [$sel:tld:Country] :: Country -> String
- IPGeolocation: [$sel:total_area:Country] :: Country -> Int
- IPGeolocation: [$sel:translation:City] :: City -> Translation
- IPGeolocation: [$sel:translation:Continent] :: Continent -> Translation
- IPGeolocation: [$sel:translation:Country] :: Country -> Translation
- IPGeolocation: [$sel:translation:Region] :: Region -> Translation
- IPGeolocation: [$sel:usage_type:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:value:Translation] :: Translation -> Maybe String
- IPGeolocation: [$sel:weather_station_code:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:weather_station_name:ResponseObj] :: ResponseObj -> Maybe String
- IPGeolocation: [$sel:zip_code:ResponseObj] :: ResponseObj -> String
+ DomainWhois: [admin] :: ResponseObj -> Contact
+ DomainWhois: [billing] :: ResponseObj -> Contact
+ DomainWhois: [city] :: Contact -> String
+ DomainWhois: [country] :: Contact -> String
+ DomainWhois: [create_date] :: ResponseObj -> String
+ DomainWhois: [domain] :: ResponseObj -> String
+ DomainWhois: [domain_age] :: ResponseObj -> Int
+ DomainWhois: [domain_id] :: ResponseObj -> String
+ DomainWhois: [email] :: Contact -> String
+ DomainWhois: [error] :: ErrorObj -> ErrorInfo
+ DomainWhois: [error_code] :: ErrorInfo -> Int
+ DomainWhois: [error_message] :: ErrorInfo -> String
+ DomainWhois: [expire_date] :: ResponseObj -> String
+ DomainWhois: [fax] :: Contact -> String
+ DomainWhois: [iana_id] :: Registrar -> String
+ DomainWhois: [name] :: Contact -> String
+ DomainWhois: [nameservers] :: ResponseObj -> [String]
+ DomainWhois: [organization] :: Contact -> String
+ DomainWhois: [phone] :: Contact -> String
+ DomainWhois: [region] :: Contact -> String
+ DomainWhois: [registrant] :: ResponseObj -> Contact
+ DomainWhois: [registrar] :: ResponseObj -> Registrar
+ DomainWhois: [status] :: ResponseObj -> String
+ DomainWhois: [street_address] :: Contact -> String
+ DomainWhois: [tech] :: ResponseObj -> Contact
+ DomainWhois: [update_date] :: ResponseObj -> String
+ DomainWhois: [url] :: Registrar -> String
+ DomainWhois: [whois_server] :: ResponseObj -> String
+ DomainWhois: [zip_code] :: Contact -> String
+ IPGeolocation: [address_type] :: ResponseObj -> Maybe String
+ IPGeolocation: [ads_category] :: ResponseObj -> Maybe String
+ IPGeolocation: [ads_category_name] :: ResponseObj -> Maybe String
+ IPGeolocation: [alpha3_code] :: Country -> String
+ IPGeolocation: [area_code] :: ResponseObj -> Maybe String
+ IPGeolocation: [as] :: ResponseObj -> String
+ IPGeolocation: [asn] :: ResponseObj -> String
+ IPGeolocation: [capital] :: Country -> String
+ IPGeolocation: [city] :: ResponseObj -> Maybe City
+ IPGeolocation: [city_name] :: ResponseObj -> String
+ IPGeolocation: [code] :: Region -> String
+ IPGeolocation: [continent] :: ResponseObj -> Maybe Continent
+ IPGeolocation: [country] :: ResponseObj -> Maybe Country
+ IPGeolocation: [country_code] :: ResponseObj -> String
+ IPGeolocation: [country_name] :: ResponseObj -> String
+ IPGeolocation: [currency] :: Country -> Currency
+ IPGeolocation: [current_time] :: TimeZoneInfo -> String
+ IPGeolocation: [demonym] :: Country -> String
+ IPGeolocation: [district] :: ResponseObj -> Maybe String
+ IPGeolocation: [domain] :: ResponseObj -> Maybe String
+ IPGeolocation: [elevation] :: ResponseObj -> Maybe Int
+ IPGeolocation: [error] :: ErrorObj -> ErrorInfo
+ IPGeolocation: [error_code] :: ErrorInfo -> Int
+ IPGeolocation: [error_message] :: ErrorInfo -> String
+ IPGeolocation: [flag] :: Country -> String
+ IPGeolocation: [fraud_score] :: ResponseObj -> Maybe Int
+ IPGeolocation: [geotargeting] :: ResponseObj -> Maybe GeoTargeting
+ IPGeolocation: [gmt_offset] :: TimeZoneInfo -> Int
+ IPGeolocation: [hemisphere] :: Continent -> [String]
+ IPGeolocation: [idd_code] :: ResponseObj -> Maybe String
+ IPGeolocation: [ip] :: ResponseObj -> String
+ IPGeolocation: [is_botnet] :: ProxyObj -> Bool
+ IPGeolocation: [is_consumer_privacy_network] :: ProxyObj -> Bool
+ IPGeolocation: [is_data_center] :: ProxyObj -> Bool
+ IPGeolocation: [is_dst] :: TimeZoneInfo -> Bool
+ IPGeolocation: [is_enterprise_private_network] :: ProxyObj -> Bool
+ IPGeolocation: [is_proxy] :: ResponseObj -> Bool
+ IPGeolocation: [is_public_proxy] :: ProxyObj -> Bool
+ IPGeolocation: [is_residential_proxy] :: ProxyObj -> Bool
+ IPGeolocation: [is_scanner] :: ProxyObj -> Bool
+ IPGeolocation: [is_spammer] :: ProxyObj -> Bool
+ IPGeolocation: [is_tor] :: ProxyObj -> Bool
+ IPGeolocation: [is_vpn] :: ProxyObj -> Bool
+ IPGeolocation: [is_web_crawler] :: ProxyObj -> Bool
+ IPGeolocation: [is_web_proxy] :: ProxyObj -> Bool
+ IPGeolocation: [isp] :: ResponseObj -> Maybe String
+ IPGeolocation: [lang] :: Translation -> Maybe String
+ IPGeolocation: [language] :: Country -> Language
+ IPGeolocation: [last_seen] :: ProxyObj -> Int
+ IPGeolocation: [latitude] :: ResponseObj -> Float
+ IPGeolocation: [longitude] :: ResponseObj -> Float
+ IPGeolocation: [mcc] :: ResponseObj -> Maybe String
+ IPGeolocation: [metro] :: GeoTargeting -> Maybe String
+ IPGeolocation: [mnc] :: ResponseObj -> Maybe String
+ IPGeolocation: [mobile_brand] :: ResponseObj -> Maybe String
+ IPGeolocation: [name] :: City -> String
+ IPGeolocation: [net_speed] :: ResponseObj -> Maybe String
+ IPGeolocation: [numeric_code] :: Country -> Int
+ IPGeolocation: [olson] :: TimeZoneInfo -> String
+ IPGeolocation: [population] :: Country -> Int
+ IPGeolocation: [provider] :: ProxyObj -> String
+ IPGeolocation: [proxy] :: ResponseObj -> Maybe ProxyObj
+ IPGeolocation: [proxy_type] :: ProxyObj -> String
+ IPGeolocation: [region] :: ResponseObj -> Maybe Region
+ IPGeolocation: [region_name] :: ResponseObj -> String
+ IPGeolocation: [sunrise] :: TimeZoneInfo -> String
+ IPGeolocation: [sunset] :: TimeZoneInfo -> String
+ IPGeolocation: [symbol] :: Currency -> String
+ IPGeolocation: [threat] :: ProxyObj -> String
+ IPGeolocation: [time_zone] :: ResponseObj -> String
+ IPGeolocation: [time_zone_info] :: ResponseObj -> Maybe TimeZoneInfo
+ IPGeolocation: [tld] :: Country -> String
+ IPGeolocation: [total_area] :: Country -> Int
+ IPGeolocation: [translation] :: City -> Translation
+ IPGeolocation: [usage_type] :: ResponseObj -> Maybe String
+ IPGeolocation: [value] :: Translation -> Maybe String
+ IPGeolocation: [weather_station_code] :: ResponseObj -> Maybe String
+ IPGeolocation: [weather_station_name] :: ResponseObj -> Maybe String
+ IPGeolocation: [zip_code] :: ResponseObj -> String

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for ip2location.io +## 1.1.0  -- 2025-04-28++* Added support for Hosted Domain API.+ ## 1.0.0  -- 2025-02-13  * First version. Released on an unsuspecting world.
Configuration.hs view
@@ -28,4 +28,4 @@ -}
 open :: String -> IO Config
 open apikey = do
-    return (Config apikey "sdk-haskell-iplio" "1.0.0")
+    return (Config apikey "sdk-haskell-iplio" "1.1.0")
ip2location-io.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             1.0.0+version:             1.1.0  -- A short (one-line) description of the package. synopsis:            IP2Location.io Haskell package for IP geolocation and domain WHOIS.