https://github.com/exPHAT/twitter-sort
🐦 Sort numbers with some help from the Twitter API
https://github.com/exPHAT/twitter-sort
python sorting-algorithms twitter twitter-api
Last synced: 3 months ago
JSON representation
🐦 Sort numbers with some help from the Twitter API
- Host: GitHub
- URL: https://github.com/exPHAT/twitter-sort
- Owner: exPHAT
- License: mit
- Archived: true
- Created: 2015-01-11T03:15:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-24T21:25:15.000Z (about 10 years ago)
- Last Synced: 2025-04-18T08:27:41.801Z (3 months ago)
- Topics: python, sorting-algorithms, twitter, twitter-api
- Language: Python
- Homepage:
- Size: 462 KB
- Stars: 385
- Watchers: 8
- Forks: 24
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.Setup
-----
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 installRename `settings_template.py` to `settings.py` and fill the API_KEY and
API_SECRET with your own key.Example
-------```shell
$ python main.py 99,9001,1337,8008,301
```