🐦 Sort numbers with some help from the Twitter API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore mentions user on response Jan 14, 2015
LICENSE Initial commit Jan 11, 2015
README.md example Jan 14, 2015
demo.png example Jan 14, 2015
main.py Update main.py Apr 24, 2015
settings_template.py Separate settings from main Jan 13, 2015


Twitter Sort

Twitter Sort is a sorting algorithm that takes advantage of the Twitter API. You pass the script the numbers you would like sorted and it will tweet a request asking for somebody to sort them. When someone replies with a sorted version of the numbers, it will print them to the console and return.


Ensure you have the tweepy module installed:

pip install tweepy

Or clone from the Git repository:

git clone https://github.com/tweepy/tweepy.git
cd tweepy
python setup.py install

Rename settings_template.py to settings.py and fill the API_KEY and API_SECRET with your own key.


$ python main.py 99,9001,1337,8008,301

a twitter-sort example