Notix Class notix.notix_api.Notix
Notix class to perform all Actions on Notix Api Constructor parameters for this class are app_id, token which is used for authentication.
Methods Available
Every method defined inside this class returns ResponseParser object.
Checking Authentication
notix.notix_api.Notix.check_auth
check_authCheck API auth (sandbox)parametersNonedescription- Check authorisation without any additional actions as described here
User identifiers synchronization
notix.notix_api.Notix.remove_add_audience_with_pixel
remove_add_audience_with_pixelSynchronised Usersparameters-pixelid type strdescription- Perform cookie sync between publisher and Notix as described here
Send push messages
notix.notix_api.Notix.send_notification
send_notificationSend Push Message to usersparametersmessage- Message Contents type dict.icon- Url of small image displayed in Push Notification type str.image- Url of image displayed in push message type str.text- Additional test message type str.title- Message title type str.url- Target Url where users will be redirected on click type str.
limit- Maximum recipient amount type int Example 10.schedule- Schedule content type dict.interval- Mailing repeat interval in minutes, minimum 60 maximum 43200(30 days) type int.start_date- Date and time when notification will be sent format YYYY-MM-DD hh:mm:ss in UTC type str.
scheduled_date- Scheduling date type str.ttl- Time to Live in minutes type int.
description- Send notification to a list of subscribers as described here
Add Audiences
notix.notix_api.Notix.add_audience
add_audienceAdd audienceparametersaudience- Audience Identifieruser- User Identifier
description- Add audience label to already subscribed user as described here
Delete Audiences
notix.notix_api.Notix.delete_audience
delete_audienceDelete audienceparametersaudience- Audience Identifieruser- User Identifier
description- Delete audience label from your subscriber as described here
Audience add or delete using retargeting pixel
notix.notix_api.Notix.remove_add_audience_with_pixel
remove_add_audience_with_pixelAudience add and deleteparameters-pixelid type strdescription- Add or delete user audiences using image pixel as described here