Web application inspired by TwitterCollector (much respect)
Go to file
2023-07-20 21:41:02 -04:00
.vscode API reworked and broken up 2022-10-26 15:51:16 -04:00
frontend@ee6360e9e6 update frontend submodule to latest commit 2022-10-30 01:44:20 -04:00
resources API reworked and broken up 2022-10-26 15:51:16 -04:00
services API reworked and broken up 2022-10-26 15:51:16 -04:00
tests API reworked and broken up 2022-10-26 15:51:16 -04:00
.gitignore API reworked and broken up 2022-10-26 15:51:16 -04:00
.gitmodules add submodule for the frontend 2022-10-26 15:52:03 -04:00
app.py API reworked and broken up 2022-10-26 15:51:16 -04:00
convert_to_archive_format.py add mastodon package and some code to grab toots 2022-11-17 23:16:17 -05:00
mastodon_app.py add mastodon package and some code to grab toots 2022-11-17 23:16:17 -05:00
Pipfile add mastodon package and some code to grab toots 2022-11-17 23:16:17 -05:00
Pipfile.lock add mastodon package and some code to grab toots 2022-11-17 23:16:17 -05:00
README.md Update README.md 2023-07-20 21:41:02 -04:00
run.py API reworked and broken up 2022-10-26 15:51:16 -04:00

TheConsole

Secret Twitter application of the #BallsGang

Setup

  1. Install python dependencies

    pipenv install && pipenv shell
    
  2. 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
    
  3. 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

More to come...