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
- 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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 350ad76fd6d0d99eab2b1fb7bde67e7d156942c0e6aaff946958409165171bf8 |
|
MD5 | 54be630c062363b5291d66ef243382d6 |
|
BLAKE2b-256 | 08c65d061556650f71818b7bf631aed8a03e10952c372045df609f7d455e724d |