func GetRecipientLists(recipientID, apiKey string) ([]*ContactList, error) {
	response, err := SendGETRequest(apiKey, "/contactdb/recipients/"+recipientID+"/lists")
	if err != nil {
		return nil, err
	}

	lists := &contactLists{}
	err = json.Unmarshal(response, lists)
	if err != nil {
		return nil, err
	}

	return lists.Lists, nil
}
// GetRecipientLists will return all of the lists which the recipient is part of. (GET)
GetRecipientLists will return all of the lists which the recipient is part of. (GET)
// GetRecipientLists will return all of the lists which the recipient is part of . ( GET )
func GetRecipientLists(recipientID, apiKey string) ([]*ContactList, error) {
	response, err := SendGETRequest(apiKey, "/contactdb/recipients/"+recipientID+"/lists")
	if err != nil {
		return nil, err
	}
	lists := &contactLists{}
	err = json.Unmarshal(response, lists)
	if err != nil {
		return nil, err
	}
	return lists.Lists, nil
}
func GetRecipientLists ( recipientID , apiKey string ) ( [ ] * ContactList , error ) { response , err := SendGETRequest ( apiKey , " " + recipientID + " " ) if err != nil { return nil , err } lists := & contactLists { } err = json . Unmarshal ( response , lists ) if err != nil { return nil , err } return lists . Lists , nil }
GetRecipientLists will return all of the lists which the recipient is part of.
GetRecipientLists will return all of the lists which the recipient is part of .