All Projects → s32x → Ipdata

s32x / Ipdata

Licence: bsd-3-clause
🌐 An IP lookup system utilizing open datasets

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Ipdata

Shiny geoip
IP to location API service
Stars: ✭ 172 (+196.55%)
Mutual labels:  api, geolocation
Geolocate-IP-Browser-Extension
A browser extension, which shows you the origin of your IP address.
Stars: ✭ 21 (-63.79%)
Mutual labels:  geolocation, ip
ipinfo
A wrapper around the ipinfo.io services
Stars: ✭ 51 (-12.07%)
Mutual labels:  geolocation, ip
Habanero
client for Crossref search API
Stars: ✭ 90 (+55.17%)
Mutual labels:  api, metadata
Api
姬长信API For Docker 一个基于多种编程语言开源免费不限制提供生活常用,出行服务,开发工具,金融服务,通讯服务和公益大数据的平台.
Stars: ✭ 743 (+1181.03%)
Mutual labels:  api, ip
Osint San
Framework для сбора данных из открытых источников. В Framework используется большое количество API, их необходимо зарегистрировать самому.​
Stars: ✭ 99 (+70.69%)
Mutual labels:  api, geolocation
scif
scientific filesystem: a filesystem organization for scientific software and metadata
Stars: ✭ 30 (-48.28%)
Mutual labels:  metadata, container
Track Ip
Advanced Ip Tracker Tool
Stars: ✭ 150 (+158.62%)
Mutual labels:  geolocation, ip
Seqbox
A single file container/archive that can be reconstructed even after total loss of file system structures
Stars: ✭ 480 (+727.59%)
Mutual labels:  metadata, container
The Seo Framework
The SEO Framework WordPress plugin.
Stars: ✭ 329 (+467.24%)
Mutual labels:  api, metadata
Terraformize
Apply\Destory Terraform modules via a simple REST API endpoint.
Stars: ✭ 84 (+44.83%)
Mutual labels:  api, container
Snoop
Snoop — инструмент разведки на основе открытых данных (OSINT world)
Stars: ✭ 886 (+1427.59%)
Mutual labels:  geolocation, ip
Coregpx
A library for parsing and creation of GPX location files. Purely Swift.
Stars: ✭ 132 (+127.59%)
Mutual labels:  metadata, geolocation
Rcrossref
R client for various CrossRef APIs
Stars: ✭ 137 (+136.21%)
Mutual labels:  api, metadata
Mercury
Mercury is a hacking tool used to collect information and use the information to further hurt the target
Stars: ✭ 236 (+306.9%)
Mutual labels:  geolocation, ip
pikaz-location
定位插件(限中国)
Stars: ✭ 78 (+34.48%)
Mutual labels:  geolocation, ip
Iplocation
Get ip location information.
Stars: ✭ 70 (+20.69%)
Mutual labels:  geolocation, ip
Country Ip Blocks
CIDR country-level IP data, straight from the Regional Internet Registries, updated hourly.
Stars: ✭ 100 (+72.41%)
Mutual labels:  geolocation, ip
express-ip
An Express Middleware for getting IP information
Stars: ✭ 28 (-51.72%)
Mutual labels:  geolocation, ip
Exiftool
ExifTool meta information reader/writer
Stars: ✭ 832 (+1334.48%)
Mutual labels:  api, metadata

ipdata
CircleCI Go Report Card GoDoc

ipdata curl

ipdata is a free and open-source ip address lookup system. It combines the results retrieved from multiple maxminddb databases to provide you general geo/isp data for version 4 addresses. The project is currently available as a publicly consumable API, an easily importable Golang package called ipdata for use in your own Go projects, and a public Docker image on DockerHub.

Please note: The hosted version of ipdata.info does not store ANY ip data that is requested. If this is a real security concern of yours I recommend either using the self hosted Binary/Docker image or importing and utilizing the package yourself.

Features

The lookup system is extremely easy to understand and includes only one output format (JSON). What is returned to you is outlined in the below sample response. If you decide to use the package yourself the response struct can be found here.

{
    "ip_address": "123.456.789.012",
    "hostname": "example.com",
    "isp": "ISP LLC Communications",
    "country_code": "US",
    "country_name": "United States",
    "region_code": "CA",
    "region_name": "California",
    "city": "San Francisco",
    "zip_code": "94016",
    "time_zone": "America/California",
    "country_code": "US",
    "country_name": "United States",
    "geohash": "9ydqy",
    "latitude": 37.751,
    "longitude": -97.822,
    "metro_code": 123,
}

Getting Started

Public API Usage

Using the API is very simple. All that's needed to lookup an IP is to send a GET request using the below URL schema to our origin.

https://ipdata.info/lookup/{ip}

Installing

To start using IPData on your local system, install Go and run go get:

$ go get s32x.com/ipdata

This will install the ipdata binary on your machine.

Running with Docker

To start using IPData via Docker, install Docker and run docker run:

$ docker run -p 8080:8080 s32x/ipdata

This will retrieve the remote DockerHub image and start the service on port 8080.

Full Go Example

package main

import (
    "log"

    "s32x.com/ipdata/ipdata"
)

func main() {
    // Create the ipdata client
    ic, err := ipdata.NewClient()
    if err != nil {
        log.Fatal(err)
    }
    defer ic.Close()

    // Perform the lookup
    log.Println(ic.Lookup("172.217.6.110"))
}

The BSD 3-clause License

Copyright (c) 2020, s32x. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of ipdata nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

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].