简体   繁体   中英

What is the simplest way to create a custom google assistant action that returns a piece of date from a web page

I want to develop a custom google assistant action that will get a web page, extract a piece of information, and read it aloud.

I'm looking for pointers for relevant sources.

If it's possible through services such as ifttt it's even better (though from what I saw the google assistant support in ifttt doesn't appear to support this scenario).

You're looking to create an Action with the Actions-on-Google API . The easiest way would probably be to create a Firebase Function with node.js that handles the AoG request from Google, makes the call to the web page, extracts the information you need in a form that can be read aloud, and sends that back.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM