and now with the api gem