• Stars
    star
    159
  • Rank 235,916 (Top 5 %)
  • Language
    JavaScript
  • Created almost 10 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

IP-to-country geolocation API

Country

Build

Country is a geolocation API that gets your users' country (and nothing else) from their IP.

Usage

Country has a minimal πŸ”₯ interface.

Have your browser or app query its own IP address.

https://api.country.is/

Query an abitrary IP.

https://api.country.is/9.9.9.9

See the data sources.

https://api.country.is/info

Country automatically checks for a newer version every 24 hours.

Deployment

We run a public instance at country.is. Alternatively, you can run privately with

docker run -d -p 3000:3000 -e LICENSE_KEY=YOUR_LICENSE_KEY hakanensari/country

Replace the YOUR_LICENSE_KEY placeholder with a license key associated with your MaxMind account.

Notes

Country uses geolocation data provided by Cloudfare and MaxMind.

Since 30 December 2019, you need to register for a license key to download the MaxMind data.

Our public instance does not log requests.

More Repositories

1

vacuum

Amazon Product Advertising API in Ruby
Ruby
556
star
2

frankfurter

πŸ’± Foreign exchange API that wraps currency data provided by the ECB
Ruby
473
star
3

structure

Lazy-parse data into thread-safe, memoized attributes
Ruby
29
star
4

google-book

A Ruby wrapper to the Google Book Search Data API
Ruby
27
star
5

jeff

Minimum-viable Amazon Web Services client
Ruby
24
star
6

ebay-ruby

Ruby wrapper to the eBay APIs
Ruby
21
star
7

bookland

Provides EAN, ISBN, and ASIN classes in Ruby
Ruby
17
star
8

mws-orders

A Ruby interface to the Amazon MWS Orders API
Ruby
15
star
9

turnpike

A Redis-backed FIFO queue
Ruby
11
star
10

net-http-local

[mort] Binds a Net::HTTP request to a specified local address and port
Ruby
8
star
11

hoover

A Node.js wrapper to the Amazon Product Advertising API
CoffeeScript
7
star
12

throttler

Rate-limits code execution across threads or processes on a server
Ruby
6
star
13

ean

A minimal EAN and ISBN implementation in JavaScript
CoffeeScript
5
star
14

crack

Really simple XML parsing
CoffeeScript
4
star
15

certainty

An object that represents truth
Ruby
4
star
16

craft

Ruby
3
star
17

double

Double allows you to use a constant before it is defined when metaprogramming
Ruby
3
star
18

bezos

A utility library that signs requests to various Amazon APIs
CoffeeScript
2
star
19

brian-eno-oblique-strategies

Ruby
2
star
20

twitter-list-curator

Auto-curates topical Twitter lists by scraping Lanyrd
Ruby
2
star
21

vimeo-portfolio

Video portfolio with Vimeo as backend
JavaScript
1
star
22

the-placeholder-site

HTML
1
star
23

powells

Powells.com API wrapper
Ruby
1
star
24

bookdepository

Ruby
1
star
25

firstratedata

Jupyter Notebook
1
star