Skip to main content
Help us improve Python packaging – donate today!

Django IP-API.com wrapper

Project Description

About

django-ip-com is a django app for http://ip-api.com/

WARNING: This is BETA app! See LICENSE.

Usage

  • Install: pip install django-ipapi
  • Add ‘ipapi’ to INSTALLED_APPS
  • Add ‘ipapi.middleware.CheckCountryCodeMiddleware’ to MIDDLEWARE_CLASSES
  • Set IPAPI_ALLOWED_COUNTRIES = [‘your iso-country-code’,]
  • Test on localhost: http://localhost:8000/pl/?__ipapi__=208.80.152.201

Release history Release notifications

This version
History Node

0.0.1b1

History Node

0.0.1b0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-ipapi-0.0.1b1.tar.gz (5.2 kB) Copy SHA256 hash SHA256 Source None Aug 16, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page