{"repo":"ipinfo/django","free":true,"listed":false,"github":"https://github.com/ipinfo/django","clone":"git clone https://github.com/ipinfo/django.git","description":"Official Django Library for IPinfo API (IP geolocation and other types of IP data)","language":"Python","stars":59,"topics":["ipinfo","django","ip-geolocation","ip-address","ip-database"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"IPinfo Django Client Library This is the official Django client library for the IPinfo.io IP address API, allowing you to look up your own IP address, or get any of the following details for an IP: - IP to geolocation (city, region, country, postal code, latitude, and longitude) - IP to ASN (ISP or network operator, associated domain name, and type, such as business, hosting, or company) - IP to Company (the name and domain of the business that uses the IP address) - IP to Carrier (the name of the mobile carrier and MNC and MCC for that carrier if the IP is used exclusively for mobile traffic) Check all the data we have for your IP address here. Getting Started You'll need an IPinfo API access token, which you can get by signing up for a free account at https://ipinfo.io/signup. The free plan is limited to 50,000 requests per month, and doesn't include some of the data fields such as IP type and company data. To enable all the data fields and additional request volumes see https://ipinfo.io/pricing The library also supports the Lite API, see the Lite API section for more info. Installation Quickstart Once configured, ipinfo django will make IP address data accessible within Django's HttpRequest object. The following view from the view.py file: will return the following as an HttpResponse object: To get the details of a user-defined IP, we will import the ipinfo package directly to the view.py file: The above code will print the IP details provided. We can use GET and POST met","default_branch":null,"files":null,"tree":[],"storefront":"/r/ipinfo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ipinfo/django/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}