Skip to content

Instantly share code, notes, and snippets.

@andymckay
Created July 27, 2011 08:38
Show Gist options
  • Save andymckay/1108933 to your computer and use it in GitHub Desktop.
Save andymckay/1108933 to your computer and use it in GitHub Desktop.
from amo import AMOOAuth
amo = AMOOAuth(domain="addons.allizom.org", port=443, protocol='https',
prefix='/z')
amo.set_consumer(consumer_key='xxxx',
consumer_secret='xxx')
data = {'addon': 2292,
'average': 0.1,
'appversion': 1,
'osversion': 1,
'test': 'ts'}
print amo.create_perf(data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment