Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Script for saving a JSON archive of your tweets.
branch: master

This branch is even with simonw:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.txt
fetch.py

README.txt

mytweets
========

A simple script to back up all of your tweets in to a local JSON file.

Dependencies:

- httplib2 from http://code.google.com/p/httplib2/
- simplejson (unless Python 2.6) from http://pypi.python.org/pypi/simplejson/

Usage:

1. Create a file called config.py in the same directory as the script:

USERNAME = 'your-twitter-username'
PASSWORD = 'your-twitter-password'

2. Run the command like so:

python fetch.py

3. Your tweets will be saved to my_tweets.json

You can run the command again any time to save new tweets created since you 
last ran the script.
Something went wrong with that request. Please try again.