prow/github/client.go
func (c *Client) GetColumnProjectCard(columnID int, cardNumber int) (*ProjectCard, error) {
	c.log("GetColumnProjectCard", columnID, cardNumber)
	if c.fake {
		return nil, nil
	}
	path := fmt.Sprintf("/projects/columns/%d/cards", columnID)
	var cards []ProjectCard
	err := c.readPaginatedResults(
		path,
		acceptNone,
		func() interface{} {
			return &[]ProjectCard{}
		},
		func(obj interface{}) {
			cards = append(cards, *(obj.(*[]ProjectCard))...)
		},
	)
	if err != nil {
		return nil, err
	}
	for _, card := range cards {
		if card.ContentID == cardNumber {
			return &card, nil
		}
	}
	return nil, nil
}
func (c *Client) GetColumnProjectCard(columnID int, cardNumber int) (*ProjectCard, error) {
	c.log("GetColumnProjectCard", columnID, cardNumber)
	if c.fake {
		return nil, nil
	}
	path := fmt.Sprintf("/projects/columns/%d/cards", columnID)
	var cards []ProjectCard
	err := c.readPaginatedResults(
		path,
		acceptNone,
		func() interface{} {
			return &[]ProjectCard{}
		},
		func(obj interface{}) {
			cards = append(cards, *(obj.(*[]ProjectCard))...)
		},
	)
	if err != nil {
		return nil, err
	}
	for _, card := range cards {
		if card.ContentID == cardNumber {
			return &card, nil
		}
	}
	return nil, nil
}
// GetColumnProjectCard of a specific issue or PR for a specific column in a board/project
//
// See https://developer.github.com/v3/projects/cards/#list-project-cards