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.

Source Distribution

twitter_analytics-0.0.1.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

twitter_analytics-0.0.1-py2.7.egg (13.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page