Chat Drive is a conversational storage solution that allows you to save files from the WeChat room and access them anytime by talking to our chatbot.
Once upon a time...
- Save all files in a WeChat room to GDrive
- Search and get back the saved files by talking to the chatbot
(the following is taken from google-spreadsheet docs)
- Go to the Google Developers Console
- Select your project or create a new one (and then select it)
- Enable the Drive API for your project
- In the sidebar on the left, expand APIs & auth > APIs
- Search for "drive"
- Click on "Drive API"
- click the blue "Enable API" button
- Create a service account for your project
- In the sidebar on the left, expand APIs & auth > Credentials
- Click blue "Add credentials" button
- Select the "Service account" option
- Select "Furnish a new private key" checkbox
- Select the "JSON" key type option
- Click blue "Create" button
- your JSON key file is generated and downloaded to your machine (it is the only copy!)
- note your service account's email address (also available in the JSON key file)
- Share the doc (or docs) with your service account using the email noted above
- How to Use the Google Drive API with JavaScript
- Wrapper to simplify interaction with google drive apis
- Node.js library to access Google Drive's API
- Google Drive API: Files and folders overview
Rui, Duan, Yuan, and Huan
- Code & Docs © 2020 Wechaty Contributors (https://github.com/wechaty)
- Code released under the Apache-2.0 License
- Docs released under Creative Commons