dstufft/slumber — pull request #11 by stephenmcd (2012-02-17 01:15:55+00:00)
Title: Base api introspection

I added an explicit get method to the API class which passes through to returning a resource without any item name used - the result is that api.get() can be called and data is returned from the base URL of the API. In the case of tastypie APIs, this means the list of resources and their schemas and endpoints can be accessed via slumber.

I originally through to name it api.resources() but I guess an API could potentially return something else, so I just called it get() for consistency with everything else.