Project

mxmnd

0.0
No commit activity in last 3 years
No release in over 3 years
Minimalistic MaxMind API wrapper for Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
~> 10.0
~> 3.0

Runtime

 Project Readme

Build Status Code Climate Gem Version

Mxmnd

Minimalistic MaxMind API wrapper for Ruby.

Faraday is the only runtime dependency.

Supports only #city API call. API compatible with Geoip2.city.

Installation

Add this line to your application's Gemfile:

gem 'mxmnd'

Usage

Mxmnd.city('8.8.8.8')

If you want to use faraday options, you can pass them as a second parameter:

Mxmnd.city('8.8.8.8', request: {timeout: 1})

License

The gem is available as open source under the terms of the MIT License.