VikramTiwari / Geo From Ip
Licence: mit
Get geolocation 🌐 information about an IP 📲
Stars: ✭ 24
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Geo From Ip
Geo On Fire
A library to create high performance geolocation queries for Firebase. Checkout the demos: https://run.plnkr.co/plunks/AYaN8ABEDcMntgbJyLVW/ and https://run.plnkr.co/plunks/xJgstAvXYcp0w7MbOOjm/
Stars: ✭ 54 (+125%)
Mutual labels: geolocation, geo
Snoop
Snoop — инструмент разведки на основе открытых данных (OSINT world)
Stars: ✭ 886 (+3591.67%)
Mutual labels: geolocation, geo
Flutter Geolocator
Android and iOS Geolocation plugin for Flutter
Stars: ✭ 759 (+3062.5%)
Mutual labels: geolocation, geo
geo
Geospatial primitives and algorithms for Crystal
Stars: ✭ 17 (-29.17%)
Mutual labels: geo, geolocation
Clavin
CLAVIN (Cartographic Location And Vicinity INdexer) is an open source software package for document geoparsing and georesolution that employs context-based geographic entity resolution.
Stars: ✭ 237 (+887.5%)
Mutual labels: geolocation, geo
Geotools
Geo-related tools PHP 5.4+ library built atop Geocoder and React libraries
Stars: ✭ 1,157 (+4720.83%)
Mutual labels: geolocation, geo
Places
🌐 Turn any <input> into an address autocomplete
Stars: ✭ 5,322 (+22075%)
Mutual labels: geolocation, geo
React Native Android Location Services Dialog Box
React Native Android Location Services Dialog Box
Stars: ✭ 175 (+629.17%)
Mutual labels: geolocation, geo
geocoder
Geocoder is a Typescript library which helps you build geo-aware applications by providing a powerful abstraction layer for geocoding manipulations
Stars: ✭ 28 (+16.67%)
Mutual labels: geo, geolocation
Mapsui
Mapsui is a .NET Map component for WPF, Xamarin.Forms, Xamarin.Android, Xamarin.iOS and UWP
Stars: ✭ 447 (+1762.5%)
Mutual labels: geo
Go Geom
Package geom implements efficient geometry types for geospatial applications.
Stars: ✭ 456 (+1800%)
Mutual labels: geo
Leku
🌍 Map location picker component for Android. Based on Google Maps. An alternative to Google Place Picker.
Stars: ✭ 612 (+2450%)
Mutual labels: geolocation
Geofirestore Js
Location-based querying and filtering using Firebase Firestore.
Stars: ✭ 436 (+1716.67%)
Mutual labels: geolocation
Arcore Location
Allows items to be placed within the AR world with real-world GPS coordinates using ARCore.
Stars: ✭ 399 (+1562.5%)
Mutual labels: geolocation
Geofirex
🌐 📍 Geolocation Queries with Firestore & RxJS
Stars: ✭ 396 (+1550%)
Mutual labels: geolocation
Geomate
GeoMate is a friend in need for all things geolocation. IP to geo lookup, automatic redirects (based on country, continent, language, etc), site switcher... You name it.
Stars: ✭ 19 (-20.83%)
Mutual labels: geolocation
Geographer
PHP library that knows how countries and cities are called in any language
Stars: ✭ 714 (+2875%)
Mutual labels: geolocation
geo-from-ip
Get geolocation 🌐 information about an IP 📲
Features
- No frills install 🚀
- Downloads GeoLite2 databases automatically during installation 🔋
- Run
npm install
to upgrade databases which means automatic updates on deployments 💎
How to use
- Include package in your project
npm install --save geo-from-ip
# or, if you are using yarn
yarn add --save geo-from-ip
-
Set
MAXMIND_LICENSE_KEY=<your_maxmind_license_key>
in your environment variables. Read more about this change on MaxMind's blog. -
Use package to get geo data from IP
const geoip = require('geo-from-ip')
console.log(geoip.allData('199.188.195.120'))
- And the complete response will be returned
{
"code": {
"state": "CA",
"country": "US",
"registeredCountry": "US",
"continent": "NA"
},
"geonameId": {
"city": 5391959,
"state": 5332921,
"country": 6252001,
"registeredCountry": 6252001,
"continent": 6255149
},
"city": "San Francisco",
"state": "California",
"country": "United States",
"registeredCountry": "United States",
"continent": "North America",
"postal": "94107",
"location": {
"accuracy_radius": 5,
"latitude": 37.7642,
"longitude": -122.3993,
"metro_code": 807,
"time_zone": "America/Los_Angeles"
}
}
- Update database
Database will get automatically updated every time deployment happens. But if you would like to force an update, just run:
npm install
# or, if you are using yarn
yarn
Remember that you will need to have MAXMIND_LICENSE_KEY
set in your environment variables.
Debugging / Developing
Run your code using geo-from-ip
as debug flag. Look into pacakge.json
for example.
Credits
Database: Max-Mind
This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].