Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor clients #41

Closed
Stranger6667 opened this issue Oct 8, 2016 · 0 comments
Closed

Refactor clients #41

Stranger6667 opened this issue Oct 8, 2016 · 0 comments
Assignees
Milestone

Comments

@Stranger6667
Copy link
Owner

It will be better to use something simple instead of 2 client classes (and another one for status api)

E.g.

from postmarker.core import PostmarkClient

postmark = PostmarkClient(token='API_TOKEN')
postmark.emails.send(...)
postmark.bounces.all()
postmark.status
postmark.last_incident
@Stranger6667 Stranger6667 self-assigned this Oct 8, 2016
@Stranger6667 Stranger6667 added this to the Release 0.4.0 milestone Oct 8, 2016
Stranger6667 added a commit that referenced this issue Oct 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant