Permalink
Browse files

Fixed REAME.md

  • Loading branch information...
1 parent eac0f21 commit 9019495247514ed1874b0ea1d5c2406d5952a756 @alexksikes committed Apr 29, 2011
Showing with 2 additions and 6 deletions.
  1. +2 −6 README.md
View
@@ -1,4 +1,4 @@
-sGeo
+sGeo
====
1. About
@@ -16,8 +16,6 @@ Read [INSTALL.md](https://github.com/alexksikes/sGeo/blob/master/INSTALL.md) for
3. How to use within your code
------------------------------
-Here is an example of how you would use sGeo in your code:
-
import sgeo
gc = sgeo.GeoCoder(usa_only=True)
@@ -36,12 +34,10 @@ Here is an example of how you would use sGeo in your code:
# using Geonames to find nearby hotels
hits = gc.get_nearby_places(coords.lat, coords.lon, 'hotels', radius=50*1000, limit=10)
print hits
-
+
4. Use command line interface for testing
-----------------------------------------
-sGeo supports a command line interface for testing purposes.
-
python sgeo/sgeo/sg_cli.py --usa-only 'Newport Beach, CA'
Usage:

0 comments on commit 9019495

Please sign in to comment.