Skip to content

powlo/good-films

Repository files navigation

Good-Films

Build Status

An AWS Serverless Application that scrapes the guardian api and posts film reviews to trakt.

Documentation for Guardian API is found here: https://open-platform.theguardian.com/documentation/

Documentation for Trakt API is found here: https://trakt.docs.apiary.io/

Trakt Tokens.

Access and refresh tokens for Trakt need to be rotated. These tokens are stored in AWS Secrets Manager and are rotated automatically through the TraktTokenRotator lambda function.

In the event that the refresh token is stale the tokens will have to be manually regenerated.

To do this run python create_trakt_tokens.py and follow on screen instructions.

Token Rotator.

Code for the token rotator exists within the token_rotator directory and should be built and deployed independently of the main repository code with it's own virtual environment.

cd token_rotator sam build - .aws/template.yaml sam deploy --guided

About

An AWS Serverless Application that adds top rated films according to The Guardian to a trakt list.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages