I am trying to update my location using currentLocation API of Google Latitude.
What steps will reproduce the problem?
1. The following code is used to insert my current location
result = client.execute(
:api_method => 'latitude.currentLocation.insert',
:body => "{\"data\": {\"kind\":\"latitude#location\",\"latitude\":#{latitude},\"longitude\":#{longitude}}}",
:headers => {'Content-Type'=> 'application/json'}
)
2. This raises an exception as below:
Could not retrieve discovery document at:
https://www.googleapis.com/discovery/v1/apis/latitude/v1/rest?key=<My App ID>
Is there any action we can take when this exception is raised. As updating
location is critical for my app.
What is the expected output? What do you see instead?
Expected: API found and latitude longitude updated.
Actual : The link is not active always and returns this error.
Could not retrieve discovery document at:
https://www.googleapis.com/discovery/v1/apis/latitude/v1/rest?key=<My App ID>
What version of the product are you using? On what operating system?
0.4.5 Gem
Ruby 1.8.7
Rails 2.3.8
Original issue reported on code.google.com by shameela...@gmail.com on 30 Aug 2012 at 10:04
Original issue reported on code.google.com by
shameela...@gmail.com
on 30 Aug 2012 at 10:04