Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilgooz/service-location
A MESG service to find locations of IP addresses
https://github.com/ilgooz/service-location
mesg-service
Last synced: 25 days ago
JSON representation
A MESG service to find locations of IP addresses
- Host: GitHub
- URL: https://github.com/ilgooz/service-location
- Owner: ilgooz
- License: mit
- Created: 2018-11-15T12:50:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T10:52:39.000Z (over 4 years ago)
- Last Synced: 2024-08-04T20:02:09.155Z (3 months ago)
- Topics: mesg-service
- Language: Go
- Homepage: https://mesg.com
- Size: 26.4 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome - Location - Find locations of IP addresses. (Location)
README
## service-location [![CircleCI](https://img.shields.io/circleci/project/github/ilgooz/service-location.svg)](https://github.com/ilgooz/service-location) [![codecov](https://codecov.io/gh/ilgooz/service-location/branch/master/graph/badge.svg)](https://codecov.io/gh/ilgooz/service-location)
A MESG service to find locations of IP addresses._This product includes GeoLite2 data created by MaxMind, available from [http://www.maxmind.com](http://www.maxmind.com)._
```bash
mesg-core service deploy https://github.com/ilgooz/service-location
```# Tasks
## locate
Task key: `locate`
### Inputs
| **Key** | **Type** | **Description** |
| --- | --- | --- |
| **ip** | `String` | IP address to find location for. |### Outputs
##### error
Output key: `error`
| **Key** | **Type** | **Description** |
| --- | --- | --- |
| **message** | `String` | |##### location
Output key: `location`
| **Key** | **Type** | **Description** |
| --- | --- | --- |
| **city** | `String` | |
| **continent** | `String` | |
| **continentCode** | `String` | |
| **country** | `String` | |
| **countryISOCode** | `String` | |
| **latitude** | `Number` | |
| **longitude** | `Number` | |
| **postalCode** | `String` | |
| **timeZone** | `String` | |