only object api

allow user to only pass in an object, with a key for url. maintains backwards compatibility.

This is optional, I like passing 1 (potentially complex) object to a function. This is cleaner imo. And for only a couple of lines I think its adding in the base project.