Hi,
I can make this script for you with Python. I know bash as well but it takes more time to do that kind of job. I was build a cli service to handle user restrictions for my company with python. A lot of companies using it like nhs and so on. Also, i know the twitter api, i was build a twitter bot to share informations from a website blog. So, the point is, i can do your project fast, and consistent.
Good luck.