No project description provided
Project description
dnoticias_services
Import:
from dnoticias_services.<module> import <function_name>
eg:
from dnoticias_services.mail import send_email
Modules:
- authentication
Methods:
- Mail
-
create_campaign
create_campaign(template_uuid, brand_group_uuid, newsletter_uuid, title, subject, context=dict(), from_email=None, from_name=None, track_opens=True, track_clicks=True, api_key=None)
-
send_campaign
send_campaign(template_uuid, brand_group_uuid, newsletter_uuid, title, subject, context=dict(), from_email=None, from_name=None, track_opens=True, track_clicks=True, api_key=None)
-
send_email
send_email(email, template_uuid, brand_group_uuid, subject, context=dict(), from_email=None, from_name=None, attachments=[], track_opens=True, track_clicks=True, api_key=None)
-
send_email_bulk()
send_email_bulk(emails=[], template_uuid=None, brand_group_uuid=None, subject="", context=list(), from_email=None, from_name=None, attachments=[], track_opens=True, track_clicks=True, api_key=None)
-
Settings
- Mail
- MAIL_SERVICE_ACCOUNT_API_KEY
- SEND_EMAIL_API_URL (https://comunicacao.dnoticias.pt/api/send/mail/)
- SEND_EMAIL_BULK_API_URL (https://comunicacao.dnoticias.pt/api/send/mail/bulk/)
- SEND_CAMPAIGN_API_URL (https://comunicacao.dnoticias.pt/api/send/campaign/)
- CREATE_CAMPAIGN_API_URL (https://comunicacao.dnoticias.pt/api/send/create/campaign/)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django_dnoticias_services-1.0.7.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6e3067f9b80b3ad4e544d3fae7b681e9c588b3e653ccc2d7cd0d2185ac295ad |
|
MD5 | 4a0ae3a207e5641ccb85eab0a8904021 |
|
BLAKE2b-256 | df6d58f677e33341f823ca14be88e61f98b19aaca60aad5bf07d17cfbfeaf17a |