A simple Wechat bot that pulls performance data from Google Adx Seller inside Wechat Subscription account. It uses standard Google OAuth/Adexchange Seller API and is heavily inspired by node-webot/webot.
- Set up your Wechat subscription account. I used JoeShi/wechat-server-validation to do server verification to save a few minutes. Remember your token.
- Set up your Google API access
- standard Node stuff: npm install
- sudo WX_TOKEN=yourwechattoken GCLIENTID=yourgoogleclientid GCLIENTSECRET=yourgoogleclientsecret (Wechat only accepts 80/443 port, thus sudo...)
Webot-cli is very convenient for debugging