venue model to API