Skip to main content

A twitter analytics reports downloader. The only way to get tweet impressions data

Project description

Twitter analytics downloader
========

This script downloads the tweets report from the analytics section of a twitter account (including impressions).
You can specify dates for period longer than the last 28 days default period from the Twitter analytics interface.

The twitter analytics platform has a limit of 91 days. For period longer than 91 days, it splits the downloading of reports in multiple downloads.

This was created so we can get impressions data for every tweets as there is no API endpoints specifically for those metrics (as of today).


Installation

Selenium uses a few binaries (Chromedriver, xvfb) that needs to be installed beforehand with the following command:

```commandline
$ sudo apt-get install chromium-chromedriver xvfb
```

Then you can install the library with pip

```commandline
$ pip install twitter-analytics

```



TODO:
--

* Add a command line interface to be able to launch for any twitter account on the fly.
* Add a monitoring tool to track when script breaks (it will, this is selenium).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for twitter-analytics, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size twitter_analytics-0.0.1-py2.7.egg (13.9 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size twitter_analytics-0.0.1.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page