Python

Canadian TCS FDI Officers Twitter list member analysis

Blog post updated to add the following: Updated Python “TCS Members Details” code to get additional information from the List members’ profiles. New Python code “TCS Members Tweets” to download all List members’ Tweets. ————————————————– The Canadian Trade Commissioner Service maintains a Twitter List named CDN TCS FDI Officers that has a bunch of Canadian Trade Commissioners as members.

Canadian TCS FDI Officers Twitter list member analysis Read More »

How to use Google Adsense API to download Adsense data

Google’s APIs make getting Adsense (or any other Google service) data easy to download. The code below downloads Adsense data saving results to csv file. The code uses Google’s AdSense Management API, OAuth 2.0 authorization and the google-api-python-client SDK. Overview When you run this code for the first time it will open a web browser

How to use Google Adsense API to download Adsense data Read More »

Use OneDrive API to upload files to Office 365 Sharepoint Site

I have automated uploading files from my web site host’s server to my Office 365 Sharepoint site using scheduled cron jobs running Python scripts on my web host. The Python scripts use Microsoft’s Azure Active Directory Library (ADAL) to authenticate off Azure Active Directory (Azure AD or ADD), and  OneDrive API and Python Requests to use the authentication

Use OneDrive API to upload files to Office 365 Sharepoint Site Read More »

Scroll to Top