Skip to content

Instantly share code, notes, and snippets.

@zellyn
Created March 19, 2010 18:19
Show Gist options
  • Save zellyn/337999 to your computer and use it in GitHub Desktop.
Save zellyn/337999 to your computer and use it in GitHub Desktop.
Starbucks Card Balance

wget -q –no-check-certificate -O - https://www.starbucks.com/card/manage/check-your-balance –post-data=”Card.Number=$CARD_NUMBER&Card.Pin=$CARD_PIN” –header=’X-Requested-With:XMLHttpRequest’ | sed -n ‘s|.*<span class=”fetch_balance_value”>\(.*\)</span>|\1|p’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment