ThiagoBarradas / ipinfo-api

Proxy API some ip info service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CircleCI codecov

IpInfo Api

A simple web API that implements ipinfo.io to get ip details, like geolocation.

Getting started

  1. Clone this project and run.
  2. To access API resources, you can use IpInfo.Api.Client

How to use

Request: GET /ip/{ip} Ex.: GET /ip/201.200.168.63

Response 200 OK:

{
    "latitude": -22.905346,
    "longitude": -43.176523, 
    "city": "Rio de Janeiro",
    "state" : "Rio de Janeiro",
    "country" : "BR"
}

How can I contribute?

Please, refer to CONTRIBUTING

Found something strange or need a new feature?

Open a new Issue following our issue template ISSUE TEMPLATE

Changelog

See in releases

About

Proxy API some ip info service


Languages

Language:C# 97.7%Language:Smalltalk 2.3%