Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (31 sloc) 2.64 KB

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

    • simply add "毛豆课堂小助手" Wechat ID: qingfengmingyue2019 as your wechat friend and send msg to her.
    • 毛豆课堂小助手
  • To run a bot of yourself, you need

    • git clone this repo and cd wechaty-getting-started/examples/third-party/maodou
    • Within this directory, type npm install and npm start and you are good to go!
    • npm run dev if 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:

  1. Search a mini-program in wechat -> discover named "毛豆课堂", click it and login with your phone number.
  2. Re-Login using your phone number in web page kid.maodouketang.com.
  3. 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

Contact

You can’t perform that action at this time.