Twitertrendgraber

Job ID: 34080138

Budget: $10 – $30 USD

I need a python (3.8 or newer) script to grab twitter trends in the last n days (n meaning last 1, 10, 100... days).
Locations will be provided by a configuration file which will have a location per line.
Resulting information will be sent to the standard output.
Credentials I have:
App ID:
API Key:
API Key Secret:
Bearer token:
Token secret:
If any other authorization or credential is needed, this has to be discussed and solved before the project is started. Besides, I 'll not be able to provide this information for testing, so, developer must use its own credential during development and testing.
Also, credential should be read from a file, not hard coded. Can be the same file where locations are. This could be identified with the descriptive names above (Api_key=... Token_secret = ....") one per line.

Has to be compatible with Python 3.8 or newer.
Will be tested and used under Linux (Debian 11 or newer)
Related categories: Python Linux Twitter API