July 2018
Intermediate to advanced
324 pages
8h 14m
English
We are going to send a quote SMS on a daily basis to all SMS subscribers. SMS subscription features have been implemented using Amazon SNS with the QuoteSubscription class. We will give a detailed explanation about the subscription workflow in the upcoming section. But before we perform the subscription execution, we should have a configured and scheduled event that will publish a quote on the SNS topic.
We have already created the SNS topic in the QuoteSubscription constructor. Also, we have written an async method, async_publish, in the async.py file. Now we are going to use this method for sending a quote message asynchronously.
In order to keep a modularized code base, we have created a schedulers.py ...
Read now
Unlock full access