Skip to content

Commit 64f1941

Browse files
authored
Merge pull request #57 from mailtrap/readme-functionality-and-examples
merge functionality and examples in Readme
2 parents 80f9ef7 + 37968ab commit 64f1941

File tree

1 file changed

+35
-77
lines changed

1 file changed

+35
-77
lines changed

README.md

Lines changed: 35 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -214,83 +214,41 @@ SendingMailResponse(success=True, message_ids=["5162955057"])
214214

215215
The same situation applies to both `client.batch_send()` and `client.sending_api.batch_send()`.
216216

217-
### All usage examples
218-
219-
Refer to the [examples](examples) folder for the source code of this and other advanced examples.
220-
221-
### Sending API
222-
- [Sending minimal](examples/sending/minimal_sending.py)
223-
- [Sending advanced](examples/sending/advanced_sending.py)
224-
- [Sending using template](examples/sending/sending_with_template.py)
225-
226-
### Batch Sending API
227-
- [Batch sending minimal](examples/sending/batch_minimal_sending.py)
228-
- [Batch sending advanced](examples/sending/batch_advanced_sending.py)
229-
- [Batch sending using template](examples/sending/batch_sending_with_template.py)
230-
231-
### Sandbox (Email Testing) API
232-
- [Attachments](examples/testing/attachments.py)
233-
- [Inboxes](examples/testing/inboxes.py)
234-
- [Messages](examples/testing/messages.py)
235-
- [Projects](examples/testing/projects.py)
236-
237-
### Contacts API
238-
- [Contacts](examples/contacts/contacts.py)
239-
- [Contact Events](examples/contacts/contact_events.py)
240-
- [Contact Exports](examples/contacts/contact_exports.py)
241-
- [Contact Fields](examples/contacts/contact_fields.py)
242-
- [Contact Imports](examples/contacts/contact_imports.py)
243-
- [Contact Lists](examples/contacts/contact_lists.py)
244-
245-
### Email Templates API
246-
- [Email Templates](examples/email_templates/templates.py)
247-
248-
### Suppressions API
249-
- [Suppressions](examples/suppressions/suppressions.py)
250-
251-
### General API
252-
- [Account Accesses](examples/general/account_accesses.py)
253-
- [Accounts](examples/general/accounts.py)
254-
- [Billing](examples/general/billing.py)
255-
- [Permissions](examples/general/permissions.py)
256-
257-
## Supported functionality
258-
259-
This Python package offers integration with the [official API](https://api-docs.mailtrap.io/) for [Mailtrap](https://mailtrap.io).
260-
261-
Quickly integrate Mailtrap with your Python app.
262-
263-
Currently, with this SDK you can:
264-
- Email API/SMTP
265-
- Send an email (Transactional and Bulk streams)
266-
- Send an email with a template (Transactional and Bulk streams)
267-
- Send a batch of emails (Transactional and Bulk streams)
268-
- Send a batch of emails with a template (Transactional and Bulk streams)
269-
- Email Sandbox (Testing)
270-
- Send an email
271-
- Send an email with a template
272-
- Send a batch of emails
273-
- Send a batch of emails with a template
274-
- Messages management
275-
- Inboxes management
276-
- Projects management
277-
- Attachments management
278-
- Contacts
279-
- Contacts management
280-
- Contact Lists management
281-
- Contact Fields management
282-
- Contact Events management
283-
- Contact Exports management
284-
- Contact Imports management
285-
- Suppressions
286-
- Suppressions management (find and delete)
287-
- Templates
288-
- Templates management
289-
- General
290-
- Account access management
291-
- Permissions management
292-
- List accounts you have access to
293-
- Get current billing information
217+
## Supported functionality & Examples
218+
219+
### Email API:
220+
- Send an email (Transactional and Bulk streams) – [`sending/minimal_sending.py`](examples/sending/minimal_sending.py)
221+
- Send an email with a template (Transactional and Bulk streams) – [`sending/sending_with_template.py`](examples/sending/sending_with_template.py)
222+
- Send a batch of emails (Transactional and Bulk streams) – [`sending/batch_minimal_sending.py`](examples/sending/batch_minimal_sending.py)
223+
- Send a batch of emails with a template (Transactional and Bulk streams) – [`sending/batch_sending_with_template.py`](examples/sending/batch_sending_with_template.py)
224+
- Advanced sending – [`sending/advanced_sending.py`](examples/sending/advanced_sending.py)
225+
- Advanced batch sending – [`sending/batch_advanced_sending.py`](examples/sending/batch_advanced_sending.py)
226+
227+
### Email Sandbox (Testing) API:
228+
- Attachments management – [`testing/attachments.py`](examples/testing/attachments.py)
229+
- Inboxes management – [`testing/inboxes.py`](examples/testing/inboxes.py)
230+
- Messages management – [`testing/messages.py`](examples/testing/messages.py)
231+
- Projects management – [`testing/projects.py`](examples/testing/projects.py)
232+
233+
### Contacts API:
234+
- Contacts management – [`contacts/contacts.py`](examples/contacts/contacts.py)
235+
- Contact Lists management – [`contacts/contact_lists.py`](examples/contacts/contact_lists.py)
236+
- Contact Fields management – [`contacts/contact_fields.py`](examples/contacts/contact_fields.py)
237+
- Contact Events – [`contacts/contact_events.py`](examples/contacts/contact_events.py)
238+
- Contact Exports – [`contacts/contact_exports.py`](examples/contacts/contact_exports.py)
239+
- Contact Imports – [`contacts/contact_imports.py`](examples/contacts/contact_imports.py)
240+
241+
### Email Templates API:
242+
- Templates management – [`email_templates/templates.py`](examples/email_templates/templates.py)
243+
244+
### Suppressions API:
245+
- Suppressions (find & delete) – [`suppressions/suppressions.py`](examples/suppressions/suppressions.py)
246+
247+
### General API:
248+
- Account Accesses management – [`general/account_accesses.py`](examples/general/account_accesses.py)
249+
- Accounts info – [`general/accounts.py`](examples/general/accounts.py)
250+
- Billing info – [`general/billing.py`](examples/general/billing.py)
251+
- Permissions listing – [`general/permissions.py`](examples/general/permissions.py)
294252

295253
## Contributing
296254

0 commit comments

Comments
 (0)