Web application inspired by TwitterCollector (much respect)
- Python 100%
| .vscode | ||
| frontend@ee6360e9e6 | ||
| resources | ||
| services | ||
| tests | ||
| .gitignore | ||
| .gitmodules | ||
| app.py | ||
| convert_to_archive_format.py | ||
| mastodon_app.py | ||
| Pipfile | ||
| Pipfile.lock | ||
| README.md | ||
| run.py | ||
TheConsole
Secret Twitter application of the #BallsGang
Setup
-
Install python dependencies
pipenv install && pipenv shell -
Create configuration file and assign it to the env variable
ENV_FILE_LOCATION- The file is required to at least exist for now. I only have one config option set right now. This is mainly a setup for the future once tests are added.
DEBUG=True -
Start server to start handling RESTful requests
python run.py
Endpoints
/api/theconsole?command=command?username=username?companion_username=username
- command and username are always required. Companion username is only required for the get-json-same command.
Commands
- get-followers - returns all the follower accounts of the user
- get-following - returns all the accounts the user is following
- get-mutuals - returns accounts that the user is following and the other account is following back
- get-liked-tweets - returns tweets that the user liked
- get-json-same - returns accounts that follow both users. It will compare followers/followings of both user accounts.
- get-grab-user - returns the following/follower accounts of user