Skip to content

Instantly share code, notes, and snippets.

@nuthatch
Created February 22, 2012 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nuthatch/1885747 to your computer and use it in GitHub Desktop.
Save nuthatch/1885747 to your computer and use it in GitHub Desktop.
use curl to automate creation of Flurry API keys
curl -v -c ./flurry.jar \
--location-trusted \
-d "loginEmail=$USERNAME&loginPassword=$PASSWORD&rememberMe=true&__checkbox_rememberMe=true" \
-k https://dev.flurry.com/secure/loginAction.do > login.html
curl -v -b ./flurry.jar \
--location-trusted \
http://dev.flurry.com/viewProjects.do > projects.html
curl -v -b ./flurry.jar \
--location-trusted \
-d "projectName=Android+Test&categoryId=299&inputMode=" \
-k https://dev.flurry.com/android_createProjectAction.do > android.html
curl -v -b ./flurry.jar \
--location-trusted \
-d "projectName=iPhone+Test&categoryId=2&inputMode=" \
-k https://dev.flurry.com/iphone_createProjectAction.do > iphone.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment