Refactor artsy_api_wrapper