pullTrafficInfo completed

This commit is contained in:
2019-10-05 20:20:50 +01:00
parent 7d90b4b4e3
commit 8320c7ec09
3 changed files with 114 additions and 6 deletions

7
slack-bot/sendToSQS.py Normal file
View File

@@ -0,0 +1,7 @@
import boto3
from pullTrafficInfo import getTrafficInfo
session = boto3.Session(profile_name='plex-aws')
sqs = session.resource('sqs')
queue = sqs.create_queue(QueueName='test', Attributes={'DelaySeconds': '5'})