Skip to content

alexlostorto/ambassador-platform-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ambassador Platform Stats

Display 'The Ambassador Platform' message statistics.

Maintainability

The program contacts The Ambassador Platform's API and then outputs the statistics for your chats.

Note: The Ambassador Platform is a chat system used by institutions to let student ambassadors talk to prospective students.

# Example in console
---TOTAL MESSAGES---
Alex: 5,672
Jane: 6,673
Times Alex said '😎':  4
Times Jane said '😎':  9
Total messages: 12,345
Total times '😎' was said:  13

---TOTAL WORDS---
Alex: 23,452
Jane: 27,634
Total words: 51,086

⚡ Quick setup

  1. Clone the repo
git clone https://github.com/alexlostorto/ambassador-platform-stats
  1. Rename .env.example to .env

  2. Replace the token with the JWT Token made in the network request, and replace dialog with your ambassador's dialog ID.

TOKEN=eyJhb...
DIALOG=123456
  1. Install dependencies
pip install -r requirements.txt
  1. Run main.py
python main.py
  1. Star the repo 😄

📜 Credits

Everything is coded by Alex lo Storto

Licensed under the MIT License.