Rewrite callAPI #53

Merged
merged 1 commit into from Jun 9, 2012

Projects

None yet

2 participants

@sindresorhus

Rewrote the callAPI method using request.

  • Made sure to add error checking
  • If the token is invalidated (like the user removes it from github.com), pulley will be nice and do the login step again.

Works:
sindresorhus/pulley@5986bee

@mikesherov

Should also fix #16, can you confirm that it works on Windows?

@mikesherov mikesherov merged commit 20cc48e into jeresig:master Jun 9, 2012
@mikesherov
Collaborator

Can't confirm windows... switched to Mac. But it looks fine, and it should work the same as on Mac.

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