Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Crews committed Jul 15, 2010
1 parent e30be31 commit f4d633e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ xml_call = directions.xml_call

h3. Error situations

status: NOT_FOUND

If Google can't recognize your places, the distance_in_miles and drive_time_in_minutes will each return 0. You can call <pre>directions.status</pre> and it should return "NOT_FOUND" (directions.status will also return any other Google API call statuses)

TODO: handle QUERY_OVER_LIMIT
status: OVER_QUERY_LIMIT

If Google thinks you've hit their API too many times in day, or too rapidly, for your given IP address and API key; they might return OVER_QUERY_LIMIT. In this case distance_in_miles and drive_time_in_minutes will each return 0. You can call <pre>directions.status</pre> and it should return "OVER_QUERY_LIMIT"

h2. Installation

Expand Down

0 comments on commit f4d633e

Please sign in to comment.