Instructions for maodou-ketang-bot
This is a third-party bot built using wechaty and maodouketang courses API.
To see a preview demo of this bot, you need
To run a bot of yourself, you need
git clonethis repo and
- Within this directory, type
npm startand you are good to go!
npm run devif you want to see all debug logs and debug your own code
To get your own authorization in fetchMaodouAPI, you need to follow these 3 steps:
- Search a mini-program in wechat -> discover named "毛豆课堂", click it and login with your phone number.
- Re-Login using your phone number in web page kid.maodouketang.com.
- Find your auth_token in your browser->Application->Local Storage and replace authorization with auth_token value.
You can also use maodouketang api to create your own reminders for your and your kid's classtime alert.
Want to do more with this reminder bot? Please read this maodou api spec.
Speical Thanks to
- xiaoli news API from which comes this original code boilerplate
- Zixia who inspires me to opensource this code and re-do coding after 15+ years
Some useful referrences
- @microsoft/recognizers-text-suite I use this nlp api now to parse for time
- bosonnlp I also use this nlp api to parse for title and location
- BosonNLP NER this api is what I only find to get location, anyone knows other good solution?
- ChiTimeNLP I used these two packages before switching to microsoft