Simple python script to get Miron insights automatically
Python3 and PyGithub:
pip install PyGithub
Navigate to the folder Miron-Insights and run:
python3 insights.py "token"
Replace "token" your token. Note: you must have access to read this Organization (member)
You should get something like this, in terminal:
['Unique Views', 4, 8, 3, 5, 1, 0, 0] ['Views Count', 59, 51, 18, 13, 4, 0, 0] ['Unique Clones', 1, 0, 5, 1, 1, 0, 0] ['Views Count', 59, 51, 18, 13, 4, 0, 0]
It also generates a .csv file with the total. The csv file's name is current date and the results have 1 week timestamp.
Follow the link bellow: Token Documentation
Make sure to tick the "read" access.