Implement options parameter correctly

Change limit parameter to more generic options hash, change get request
to a block, and properly supply the url and options hash.