Team API and event changes

Event changes was formatting. Changed two functions in team API to more
closely match the API document.