jeresig/pulley — pull request #53 by sindresorhus (2012-06-09 21:10:09+00:00)
Title: Rewrite callAPI

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:
https://github.com/sindresorhus/pulley/commit/5986bee9989f7555d603e435637be27591ee448a

@mikesherov