Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from xero import Xero
from xero.auth import PrivateCredentials
with open("privatekey.pem") as keyfile:
rsa_key =
# Replace xxxxx with your real consumer key.
credentials = PrivateCredentials('xxxxxxxxxxxxxxxxxxxxxxxx', rsa_key)
xero = Xero(credentials)
users = xero.users.all();
print "Users:"
print users;
print "Done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.