Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is now archived

Around the same time, two things happened that made this project not worth maintaining:

  • Twitter/X significantly restricted API access breaking the library this project used to interact with it.
  • Mubi dropped the notion of expiring/daily featured films making the purpose of this bot irrelevant.

MubiNotifier

A lambda to tweet out what is leaving or featured on Mubi.

Film ratings and short synopis provided by the Open Movie Database if they exist, otherwise the Mubi user rating and editorial is used instead.

https://twitter.com/LeavingMubiUK

Usage

This app is designed to be ran in AWS lambda, and has been created to be an AWS-Sam deployable project. This means it can be ran in a container by SAM locally, which emulates AWS.

Pre-requisites

In order to run the app, you will first need to have set up a Twitter account and generated the associated OAuth credentials.

Although technically optional since the code will fall-back to Mubi's information, you will also want to have a working OMDB API key, these can be requested here.

Set-up

Once you have the above codes the app needs to have access to them through the environment. If running through SAM these can be set in template.yamland/or overridden for local runs in environment.json.

If you wish to run the application locally, for instance in pyenv, you will need to populate the following environment variables:

  • omdb_api_key
  • twitter_access_token_key
  • twitter_access_token_secret
  • twitter_consumer_key
  • twitter_consumer_secret

You can also change the timezone (used for local 'midnight' to UTC time conversion) by setting local_timezone

About

A lambda to tweet out what is leaving and arriving on Mubi

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages