lib/fireeagle/client.rb
# Sets a User's current Location using using a Place ID hash or a set of Location parameters. If the User
# provides a Location unconfirmed with lookup then FireEagle makes a best guess as to the User's Location.
#
# All three Location methods (lookup, update, and within) accept a Location Hash.
#
# There is a specific order for looking up locations. For example, if you provide lat, lon, and address,
# FireEagle will use the the latitude and longitude geo-coordinates and ignore the address.
#
# Location Hash keys, in order of priority:
#
# [<tt>(:lat, :lon)</tt>]                   both required, valid values are floats of -180 to 180 for lat and -90 to 90 for lon
# [<tt>:place_id</tt>]                      Place ID - valid values decrypts to an integer value
# [<tt>:address</tt>]                       street address (may contain a full address, but will be combined with postal, city, state, and country when available)
# [<tt>(:mnc, :mcc, :lac, :cellid)</tt>]    cell tower information, all required (as integers) for a valid tower location
# [<tt>:postal</tt>]                        a ZIP or postal code (combined with address, city, state, and country when available)
# [<tt>:city</tt>]                          city (combined with address, postal, state, and country when available)
# [<tt>:state</tt>]                         state (combined with address, postal, city, and country when available)
# [<tt>:country</tt>]                       country (combined with address, postal, city, and state when available)
# [<tt>:q</tt>]                             Free-text fallback containing user input. Lat/lon pairs and geometries will be extracted if possible, otherwise this string will be geocoded as-is.
#
# Not yet supported:
#
# * <tt>upcoming_venue_id</tt>
# * <tt>yahoo_local_id</tt>
# * <tt>plazes_id</tt>
Sets a User's current Location using using a Place ID hash or a set of Location parameters. If the User
provides a Location unconfirmed with lookup then FireEagle makes a best guess as to the User's Location.

All three Location methods (lookup, update, and within) accept a Location Hash.

There is a specific order for looking up locations. For example, if you provide lat, lon, and address,
FireEagle will use the the latitude and longitude geo-coordinates and ignore the address.

Location Hash keys, in order of priority.



Not yet supported.


Sets a User ' s current Location using using a Place ID hash or a set of Location parameters . If the User provides a Location unconfirmed with lookup then FireEagle makes a best guess as to the User ' s Location . All three Location methods ( lookup update and within ) accept a Location Hash . There is a specific order for looking up locations . For example if you provide lat lon and address FireEagle will use the the latitude and longitude geo - coordinates and ignore the address . Location Hash keys in order of priority . Not yet supported .
def update(location = {})
      raise FireEagle::ArgumentError, "OAuth Access Token Required" unless @access_token
      location = sanitize_location_hash(location)
      response = post(FireEagle::UPDATE_API_PATH, :params => location)
      FireEagle::Response.parse(response.body)
    end
def update ( location = { } ) raise FireEagle :: ArgumentError , "OAuth Access Token Required" unless @access_token location = sanitize_location_hash ( location ) response = post ( FireEagle :: UPDATE_API_PATH , :params => location ) FireEagle :: Response . parse ( response . body ) end
Sets a User's current Location using using a Place ID hash or a set of Location parameters.
Sets a User ' s current Location using using a Place ID hash or a set of Location parameters .
location
<not_specific>