In the Python SDK: add factory method to create entities from
a response body. This solves the 'passing around api_url' problem.