Default api_url added, fixed indentation