From 81cd1d828a3f9d68c16a7a1da0a3b79a6517eb90 Mon Sep 17 00:00:00 2001
From: Alex Reisner <alex@alexreisner.com>
Date: Sat, 4 Jan 2014 20:38:43 -0500
Subject: [PATCH] Update README.

Add Baidu IP lookup and separate lookups into Street Address and IP
Addres lookups.
---
 README.md | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index f27bfb6d..df85e67e 100644
--- a/README.md
+++ b/README.md
@@ -329,7 +329,7 @@ Please see the [source code for each lookup](https://github.com/alexreisner/geoc
     Geocoder.search("Paris", :params => {:countrycodes => "gb,de,fr,es,us"})
 
 
-### Listing and Comparison
+### Street Address Services
 
 The following is a comparison of the supported geocoding APIs. The "Limitations" listed for each are a very brief and incomplete summary of some special limitations beyond basic data source attribution. Please read the official Terms of Service for a service before using it.
 
@@ -471,6 +471,20 @@ Data Science Toolkit provides an API whose reponse format is like Google's but w
 * **Limitations**: No reverse geocoding.
 * **Notes**: If you are hosting your own DSTK server you will need to configure the host name, eg: `Geocoder.configure(:lookup => :dstk, :host => "localhost:4567")`.
 
+#### Baidu (`:baidu`)
+
+* **API key**: required
+* **Quota**: No quota limits for geocoding
+* **Region**: China
+* **SSL support**: no
+* **Languages**: Chinese (Simplified)
+* **Documentation**: http://developer.baidu.com/map/webservice-geocoding.htm
+* **Terms of Service**: http://developer.baidu.com/map/law.htm
+* **Limitations**: Only good for non-commercial use. For commercial usage please check http://developer.baidu.com/map/question.htm#qa0013
+* **Notes**: To use Baidu set `Geocoder.configure(:lookup => :baidu, :api_key => "your_api_key")`.
+
+### IP Address Services
+
 #### FreeGeoIP (`:freegeoip`)
 
 * **API key**: none
@@ -494,7 +508,7 @@ Data Science Toolkit provides an API whose reponse format is like Google's but w
 * **Limitations**: ?
 * **Notes**: You must specify which MaxMind service you are using in your configuration. For example: `Geocoder.configure(:maxmind => {:service => :omni})`.
 
-#### Baidu (`:baidu`)
+#### Baidu IP (`:baidu_ip`)
 
 * **API key**: required
 * **Quota**: No quota limits for geocoding
@@ -504,7 +518,8 @@ Data Science Toolkit provides an API whose reponse format is like Google's but w
 * **Documentation**: http://developer.baidu.com/map/webservice-geocoding.htm
 * **Terms of Service**: http://developer.baidu.com/map/law.htm
 * **Limitations**: Only good for non-commercial use. For commercial usage please check http://developer.baidu.com/map/question.htm#qa0013
-* **Notes**: To use Baidu set `Geocoder.configure(:lookup => :baidu, :api_key => "your_api_key")`.
+* **Notes**: To use Baidu set `Geocoder.configure(:lookup => :baidu_ip, :api_key => "your_api_key")`.
+
 
 Caching
 -------
-- 
GitLab