You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
Thanks for the API wrapper looks good!
I checked out a API from mailchimp and tried the templatelist function. What am i missing ? Checked that is used the correct endpoint, but there seems to be no response unmarshaled into the listresponse.
chimp := gochimp.NewChimp("mykey", true)
mylist := gochimp.TemplatesList{}
mylist.ApiKey = "mykey"
mylist.Filters.IncludeDragAndDrop = true
myresp, err := chimp.TemplatesList(mylist)
if err != nil {
fmt.Print(err)
}
for _, val := range myresp.User {
fmt.Print(val.Id)
}
for _, val := range myresp.Gallery {
fmt.Print(val.Id)
}
The text was updated successfully, but these errors were encountered:
Hi!
Thanks for the API wrapper looks good!
I checked out a API from mailchimp and tried the templatelist function. What am i missing ? Checked that is used the correct endpoint, but there seems to be no response unmarshaled into the listresponse.
The text was updated successfully, but these errors were encountered: