Skip to content

Releases: Malith-Rukshan/geoip-api

GeoIP API v1.0.2

03 Jun 14:28

Choose a tag to compare

🚀 GeoIP API v1.0.2

Enhanced geolocation data with currency and continent information! This release adds valuable geographical context to IP lookups.

🆕 What's New

✨ Enhanced Response Data

  • Currency Information: Get the local currency code for the detected location
  • Continent Data: Now includes continent name and continent code in geolocation responses
  • Additional ISP Data: Enhanced with ISP provider name and ASN information
  • Richer Context: More comprehensive geographical and network information for better application integration

🔧 Improvements

  • Updated response schema to include currency and continent fields
  • Enhanced data models for better type safety
  • Improved API documentation with new field descriptions

📊 API Response Example

{
  "ip": "8.8.8.8",
  "code": "US",
  "country": "United States",
  "continent": "North America",
  "continent_code": "NA",
  "city": "Mountain View",
  "lat": 37.4056,
  "lon": -122.0775,
  "tz": "America/Los_Angeles",
  "currency": "USD",
  "isp": "Google LLC",
  "asn": 15169
}

📦 Installation

Python Package

pip install geoip-py==1.0.2

Docker

docker pull malithrukshan/geoip-api:1.0.2
docker run -p 8000:8000 malithrukshan/geoip-api:1.0.2

🔄 Upgrading from v1.0.0

This release is backward compatible! Existing API endpoints continue to work as before, with new fields added to responses.

📝 Documentation

For full usage instructions and API reference:

🙏 Contributors

Special thanks to @marcellov7 for contributing the currency and continent features!

GeoIP API v1.0.0 - Initial Release

13 May 06:32

Choose a tag to compare

🚀 GeoIP API v1.0.0

The first official release of GeoIP API - a self-hosted IP geolocation library and API with no external service dependencies.

✨ Features

  • Fast and reliable IP geolocation lookups
  • Self-hosted solution with no external API dependencies
  • Python package for integration into your applications
  • FastAPI-based REST API
  • Docker support for easy deployment
  • Automatic GeoLite2 database downloads

📦 Installation

Python Package

pip install geoip-py

Docker

docker pull malithrukshan/geoip-api
docker run -p 8000:8000 malithrukshan/geoip-api

📝 Documentation

For full usage instructions, visit:

🙏 Acknowledgements

  • GeoLite2 databases provided by MaxMind
  • Mirror of GeoLite2 databases maintained by P3TERX