Open tagawa opened 4 years ago
I noticed that this the contactsdb seems to be outdated, and I noticed that replacing most of the references to contactsdb with "marketing" made the calls work. I hope that this can be worked on soon!
Hi @tagawa
The examples for this library are auto-generated from the API spec, which hasn't been done since the legacy marketing API was migrated to the new marketing campaigns API. We're aware the issue, but don't currently have a timeline for when an update will be made. Pull requests to add an example are welcome and will be reviewed based on priority.
Ah, thanks for the update @eshanholtz, I hadn't realised they were auto-generated. I haven't been able to get everything working for me yet to be able to send pull requests.
Would it be possible to have a separate documentation, even if temporary, with the updated endpoints for new users? In examples/contactdb/contactdb.py
, there could 2 API calls defined for each endpoint:
I've been running into a lot of issues, and even the support team at SendGrid hasn't been able to help me because they're following the current documentation.
This is frustrating because I find myself spending a lot of time doing things manually that could easily be automated via the API.
I echo this sentiment. We use Sendgrid to send certain transaction emails and the lack of API documentation for the new endpoints has made development very difficult. Is there a timeline for the release of the new documentation?
Issue Summary
New SendGrid users don't have access to the legacy marketing API so examples using that API don't work, for example
contactdb.py
. There may be others too, e.g.campaigns.py
andsenders.py
.Steps to Reproduce
examples/contactdb/contactdb.py
with an account that doesn't have access to the legacy marketing API.Exception/Log
Error returned:
Technical details: