This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Python PoC to interact with COROS Training Hub. | |
URL : https://training.coros.com/ | |
This script retrieves COROS's activity list for 2022/12. | |
$ python3 coros_activity_list.py | |
date,name,sportType,totalTime,distance,calorie,trainingLoad | |
20221230,Foo Run,100,9538,14651.11,1266085,117 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Resources: | |
QueueForPipe: | |
Type: AWS::SQS::Queue | |
LambdaServiceRole: | |
Type: AWS::IAM::Role | |
Properties: | |
AssumeRolePolicyDocument: | |
Statement: | |
- Action: sts:AssumeRole |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resources: | |
QueueForLambda: | |
Type: 'AWS::SQS::Queue' | |
LambdaServiceRole: | |
Type: 'AWS::IAM::Role' | |
Properties: | |
AssumeRolePolicyDocument: | |
Statement: | |
- Action: 'sts:AssumeRole' | |
Effect: Allow |
OlderNewer