Skip to content

Commit

Permalink
Readme: left align table headers
Browse files Browse the repository at this point in the history
[skip ci] [ci skip]
  • Loading branch information
fvdm committed Dec 4, 2015
1 parent 860b8b8 commit 0896992
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The functions
The _first function_ is the setup and takes these settings:

parameter | type | required | description
---------------|---------|----------|---------------------------------
:--------------|:--------|:---------|:--------------------------------
userId | string | yes | Your Maxmind account user ID
licenseKey | string | yes | Your Maxmind account license key
service | string | no | The service you'd like to use: `insights`, `country`, `city` (default)
Expand All @@ -83,7 +83,7 @@ var geo = require ('geoip2ws') ({
The _second function_ does the IP-address lookup and takes these arguments:

parameter | type | required | description
----------|----------|----------|-----------------------------------
:---------|:---------|:---------|:--------------------------------------------
service | string | no | The service, same as above
ip | string | yes | The IPv4 or IPv6 address to lookup
callback | function | yes | Your callback `function` to receive the data
Expand Down Expand Up @@ -116,7 +116,7 @@ Response data: <http://dev.maxmind.com/geoip/geoip2/web-services/#Response_Body>
#### Errors

error message | description | additional
------------------------|----------------------------------|---------------------
:-----------------------|:---------------------------------|:--------------------------
no userId or licenseKey | You did not set your credentials |
invalid service | The service name is invalid | no credits used
invalid ip | The IP-address is invalid | no credits used
Expand Down

0 comments on commit 0896992

Please sign in to comment.