separate api from options in constructor
use specific media type in github example
remove unneeded comment
better error handling in request prep