/exchangeRateTwitter

Scrape USD-MXN exchange rate from Banxico and post to Twitter

Primary LanguagePython

exchangeRateTwitter

Scrape USD-MXN exchange rate from Banxico and post to Twitter

This scripts scrape the Banco de México (Banxico) exchange rate related to Mexican Peso an US Dollar, then saves the data to a csv file containing date, time and exchange rate.

The data is then formatted to a single string and posted to Twitter using the secret data for a given Twitter app, which needs to be defined on the user's Twitter account.