-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Bryan Hazelbaker edited this page Jul 10, 2013
·
7 revisions
Please see this original document at https://github.com/delphian/astro-empires-javascript-library/wiki
Javascript object library to facilitate access to Astro Empires data for a specific account. Because this requires cross site scripting the library is only useful when ran locally (such as in a browser extension).
Copyright (c) 2013 Bryan Hazelbaker [email protected] Released under the MIT license. Read the entire license located in the project root or at http://opensource.org/licenses/mit-license.php
git clone --recursive https://github.com/delphian/astro-empires-javascript-library.git
cd astro-empires-javascript-library
- Debug this locally by launching (SEE WARNING BELOW):
chrome.exe --disable-web-security index.html
- Right click the (blank) webpage and click 'Inspect Element'.
- Click on the 'Show Console' button.
- Load up the AE object by typing:
var ae = new AstroEmpires.AE('juno.astroempires.com', 'email@address', 'password');
ae.getData();
- CLOSE THE BROWSER WHEN FINISHED DEBUGGING. DO NOT FORGET YOUR BROWSER IS NOT SECURE! DO NOT HIDE THE 'STABILITY AND SECURITY WILL SUFFER' WARNING! DO NOT SEARCH ON THIS BROWSER FOR FIXES TO JAVASCRIPT ISSUES! DO NOT CANCEL ARRESTED DEVELOPMENT IN THE THIRD SEASON!
- Submit all issues or feature requests to the Issue Queue.
Feel free to contact me [email protected] with any questions.