3 ms·
Yea, I tried to use SNS today but couldn't find any example code for Python. I got frustrated and signed up with twilio. After signing up and doing their test I
by zitterbewegung 9y ago
Yea, I tried to use SNS today but couldn't find any example code for Python. I got frustrated and signed up with twilio. After signing up and doing their test I was able to click directly to the Python example.
- Kocrachon 9y agoI admit I don't use SNS but the boto3 docs are usually really well documented.
- wickawic 9y agothe integration between the python code and SNS is relatively well documented, but it is missing examples for how to actually achieve real-world results (such as sending yourself a text message).
- zitterbewegung 9y agoResponding to this and the parent it was the lack of examples that made me change my behavior. Not the lack of documentation for boto3.
- ranman 9y ago1. I love Twilio and I recommend it over pinpoint most of the time. The API is objectively easier and the documentation is better. 2. import boto3 sns = boto3.client('sns') number = '+12345678900' sns.publish(PhoneNumber=number, Message='Hello, World') Disclaimer: I work for AWS and wrote the post
- marksomnian 9y agoOT: why on Earth would you call your library boto3, instead of something obvious, like aws? I can't be the first person who was confused by this.
- ranman 9y agoThis would be a good Quora question for Mitch Garnaat. https://twitter.com/jrhunt/status/913087294222905344 https://twitter.com/jrhunt/status/913087294222905344 https://github.com/boto/boto3/issues/1023 https://github.com/boto/boto3/issues/1023 http://acsonline.org/fact-sheets/boto-amazon-river-dolphin/ http://acsonline.org/fact-sheets/boto-amazon-river-dolphin/
- ranman 9y agoHere's the right twitter link sorry: https://twitter.com/garnaat/status/913093232917086209 https://twitter.com/garnaat/status/913093232917086209