update api get resource

includes the method to get a single resource
Merge pull request #18 from woloski/patch-1

update api get resource