Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rcunning/fireeagle-as3

ActionScript 3 classes for accessing the Fire Eagle API
https://github.com/rcunning/fireeagle-as3

Last synced: 3 months ago
JSON representation

ActionScript 3 classes for accessing the Fire Eagle API

Awesome Lists containing this project

README

        

# Fire Eagle ActionScript 3 client library

fireeagle-as3 is a set of classes for accessing the
[Fire Eagle](http://fireeagle.yahoo.net/ "Fire Eagle") REST API
and XMPP [PubSub](http://xmpp.org/extensions/xep-0060.html "XEP-0060: Publish-Subscribe") feed.

## Getting started

Download a copy of fireeagle-as3:

[fireeagle-as3](http://github.com/rcunning/fireeagle-as3/tree/master# "fireeagle-as3")

Or clone fireeagle-as3 source from github:

$ git clone git://github.com/rcunning/fireeagle-as3.git

Download the other required sources:

[Yahoo! Y!OS AS3 library](http://developer.yahoo.com/flash/yos/ "Y!OS AS3 library")

[Seesmic AS3 XMPP library](http://code.google.com/p/seesmic-as3-xmpp/ "Seesmic AS3 XMPP library") - If you want XMPP support

Setup:

Download all source from above to
will create
/fireeagle-as3
/yos_as3_sdk-1.1.1
/seesmic-as3-xmpp-read-only - if you want XMPP support
Create a Flex Builder of Flash project of your choosing
Include source from /fireeagle-as3/src in your project
Include source from /yos_as3_sdk-1.1.1/Source
Include source from /seesmic-as3-xmpp-read-only/hurlant_tls
Include source from /seesmic-as3-xmpp-read-only/seesmic-as3-xmpp
See fireeagle-as3 docs in /fireeagle-as3/Docs

## REST API Usage

class FireEagleMethod -- call any of the standard Fire Eagle REST API methods

class FireEagleAuth -- util class for authorizing new access tokens

## XMPP Usage

class realtime/XMPPConnection -- connect to an XMPP server, receive userSuccess events on subscribed user location updates

Use [Switchboard](http://github.com/mojodna/switchboard "Switchboard") to subscribe user pubsub nodes

## Sample Flex application that exercises all features of fireeagle-as3 library

[Fire Eagle AS3 Tester](http://github.com/rcunning/fireeagleas3tester/ "fireeagleas3tester")

## Getting Help

Your best bet for help is to post a message to the Fire Eagle Yahoo! Group:
[http://tech.groups.yahoo.com/group/fireeagle/](http://tech.groups.yahoo.com/group/fireeagle/ "Fire Eagle Yahoo! Group")

See [http://fireeagle.yahoo.net](http://fireeagle.yahoo.net "Fire Eagle") for more info.

## Notes

JSON parse classes taken from as3corelib: [http://code.google.com/p/as3corelib/](http://code.google.com/p/as3corelib/ "as3corelib")