added get_api script