You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the project utilizes a service that requires a mandatory API access token. This creates an impediment for users to get up and running with the gem. I am requesting IPinfo.io as a viable replacement for the existing service.
IPinfo.io provides up to 1,000 requests per day with an access token and 50,000 requests per month with a free tier access token.
The migration could be as simple as IPinfo, which already provides the same level of information through the API.
country_name: IPinfo's API does not return the full country name through the API. It only returns the country value, which contains the country code. However, you can retrieve similar information using the Hash as a reference.
The latitude and longitude values are not separate: IPinfo's API response provides geographic coordinates within the same string in the loc key. Using latitude, longitude = loc.split(',') is an easy way to extract both data.
timezone information: Timezone information is provided in ANA Time Zone Database (often referred to as the Olson Database or TZ database) format. This format is more universally accepted. However, this format can also be converted to the GMT relative timezone information using tzinfo.
Hi, I am the DevRel of IPinfo.io.
Currently, the project utilizes a service that requires a mandatory API access token. This creates an impediment for users to get up and running with the gem. I am requesting IPinfo.io as a viable replacement for the existing service.
IPinfo.io provides up to 1,000 requests per day with an access token and 50,000 requests per month with a free tier access token.
The migration could be as simple as IPinfo, which already provides the same level of information through the API.
Request
Response
The key differences are as follows:
country_name
: IPinfo's API does not return the full country name through the API. It only returns thecountry
value, which contains the country code. However, you can retrieve similar information using the Hash as a reference.latitude
andlongitude
values are not separate: IPinfo's API response provides geographic coordinates within the same string in theloc
key. Usinglatitude, longitude = loc.split(',')
is an easy way to extract both data.timezone
information: Timezone information is provided in ANA Time Zone Database (often referred to as the Olson Database or TZ database) format. This format is more universally accepted. However, this format can also be converted to the GMT relative timezone information usingtzinfo
.[1]
country_name
reference hashThe text was updated successfully, but these errors were encountered: