Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pezra-fireeagle

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pezra-fireeagle

  • 0.9.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

FireEagle[http://fireeagle.yahoo.net] (FE) is a system providing centralized management of user location information. FE allows 3rd party developers to pdate and/or access user's location data.

http://fireeagle.yahoo.net/developer/documentation

== Installation

gem install fireeagle

== Usage

require 'fireeagle' client = FireEagle::Client.new( :consumer_key => "", :consumer_secret => "", :access_token => "[access token]", :access_token_secret => "[access token secret]")

==== With a User-specific OAuth Access Token

update your location

client.update(:q => "punta del diablo, uruguay") # I wish

query your location

user = client.user => #<FireEagle::User:0x1ca5e08 ... > user.locations => [#<FireEagle::Location:0x1cdd9e8 ...>, #<FireEagle::Location:0x1cc8ffc ...>, ... ] user.best_guess => #<FireEagle::Location:0x1cdd9e8 ...> user.best_guess.name => "Punta del Diablo, Uruguay"

lookup a location

locations = client.lookup(:q => "30022") => [#<FireEagle::Location:0x1cdd9e8 ...>, #<FireEagle::Location:0x1cc8ffc ...>, ...] locations.first.name => "Alpharetta, GA 30022" locations.first.place_id => "IrhZMHuYA5s1fFi4Qw"

== Authorization

Authorization is handled by OAuth. For more details about the OAuth authorization flow and how it differs based on your application type, please see http://fireeagle.yahoo.net/developer/documentation/authorizing

== Contributing

http://github.com/jnewland/fireeagle/tree/master. You know what to do.

Rubyforge Project Page:: http://rubyforge.org/projects/fireeagle Author:: Jesse Newland (http://soylentfoo.jnewland.com) (jnewland@gmail.com[mailto:jnewland@gmail.com]) Copyright:: Copyright (c) 2008 Jesse Newland. Portions[http://pastie.caboo.se/private/oevvkdzl0zrdkf8s7hetg] Copyright (c) 2008 Yahoo! License:: Distributed under the same terms as Ruby

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc