(Finished) Make get requests return a generator.

Prevents sending more get requests than required for resources with lots
of results.