Further flesh out api call