code: func (c *Client) GetAPIEvents(i *GetAPIEventsFilterInput) (GetAPIEventsResponse, error) {
  	eventsResponse := GetAPIEventsResponse{
  		Events: []*Event{},
  		Links:  EventsPaginationInfo{},
  	}
  
  	path := fmt.Sprintf("/events")
  
  	filters := &RequestOptions{Params: i.formatEventFilters()}
  
  	resp, err := c.Get(path, filters)
  
  	if err != nil {
  		return eventsResponse, err
  	}
  
  	err = c.interpretAPIEventsPage(&eventsResponse, i.PageNumber, resp)
  	// NOTE: It's possible for eventsResponse to be partially completed before an error
  	// was encountered, so the presence of a statusResponse doesn't preclude the presence of
  	// an error.
  	// }
  	return eventsResponse, err
  }
docs: // GetAPIEvents lists all the events for a particular customer