tahrir.endpoints.users module

tahrir.endpoints.users.after_login()[source]

Create the person if it does not exist.

tahrir.endpoints.users.get_user_by_id(user_id: str)[source]

Endpoint to fetch the user based on matching id.

tahrir.endpoints.users.get_user_diff(id_a: str, id_b: str)[source]

Endpoint to compare badges between two users.

tahrir.endpoints.users.search_users_by_string(search_string: str)[source]

Search endpoint that returns users matching the search string

tahrir.endpoints.users.user_opt_out()[source]

Endpoint to update user account settings.