Skip to content

GeoIP API v1.0.2

Latest
Compare
Choose a tag to compare
@Malith-Rukshan Malith-Rukshan released this 03 Jun 14:28
· 2 commits to main since this release

πŸš€ 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!