Skip to content

Commit 0987c7d

Browse files
authored
Merge pull request #1 from ipinfo/naming
Correct naming IPinfo
2 parents cd33976 + 113ba36 commit 0987c7d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
The official Python library for the `IPInfo <https://ipinfo.io/>`_ API.
1+
The official Python library for the `IPinfo <https://ipinfo.io/>`_ API.
22
###########################################################################
33

4-
`ipinfo_wrapper` is a lightweight wrapper for the IPInfo API, which provides up-to-date IP address data.
4+
`ipinfo_wrapper` is a lightweight wrapper for the IPinfo API, which provides up-to-date IP address data.
55

66
.. contents::
77

@@ -24,15 +24,15 @@ Emeryville
2424

2525
Authentication
2626
==============
27-
The IPInfo library can be authenticated with your IPInfo API token, which is passed in as a positional argument. It also works without an authentication token, but in a more limited capacity.
27+
The IPinfo library can be authenticated with your IPinfo API token, which is passed in as a positional argument. It also works without an authentication token, but in a more limited capacity.
2828

2929
>>> access_token = '123456789abc'
3030
>>> handler = ipinfo_wrapper.getHandler(access_token)
3131

3232

3333
Details Data
3434
=============
35-
`handler.getDetails()` will return a `Details` object that contains all fields listed `IPInfo developer docs <https://ipinfo.io/developers/responses#full-response>`_ with a few minor additions. Properties can be accessed directly.
35+
`handler.getDetails()` will return a `Details` object that contains all fields listed `IPinfo developer docs <https://ipinfo.io/developers/responses#full-response>`_ with a few minor additions. Properties can be accessed directly.
3636

3737
>>> details.hostname
3838
cpe-104-175-221-247.socal.res.rr.com
@@ -127,7 +127,7 @@ It's possible to use a custom cache by creating a child class of the `CacheInter
127127

128128
Internationalization
129129
====================
130-
When looking up an IP address, the response object includes a `details.country_name` attribute which includes the country name based on American English. It is possible to return the country name in other languages by setting the `countries_file` keyword argument when creating the `IPInfo` object.
130+
When looking up an IP address, the response object includes a `details.country_name` attribute which includes the country name based on American English. It is possible to return the country name in other languages by setting the `countries_file` keyword argument when creating the `IPinfo` object.
131131

132132
The file must be a `.json` file with the following structure::
133133

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(name='ipinfo_wrapper',
44
version='0.1.3',
5-
description='Official Python library for IPInfo',
5+
description='Official Python library for IPinfo',
66
url='https://github.com/ipinfo/python',
77
author='James Timmins',
88
author_email='[email protected]',

0 commit comments

Comments
 (0)