Using Google Home Voice Asssistant to search for hotels in partiucular city using WT read, listing the hotels, choosing one with the dates and creating booking. Signing the booking with the private key of SSL certificate of particular domain. Composing WT booking object and attaching the signature as header to the booking request. Receiving booking and getting public key out of domain SSL certificate, checking signature of booking object.
- David Duong, [email protected]
- Jan Hanák, [email protected]
- Mikolas Belec, [email protected]
https://github.com/cduongt/wt-hackathon-submission
We wanted to explore the possibilities of voice assistant and use it for search and booking of accommodation of WT inventory. We havent worked with the Google voice assistant before, so we had to learn the API and feautres. We used libraries from previous hackathon for connection WT and composing booking object. The models are part of the project now. We used our SSL certificate private key to sign hash of booking object, so receiveing party can verify origin of booking from siesta.cloud domain
- Booking hotel without OTA (skipping the massive development nessecary for bookings)
- Trust clue - domain verification via SSL certificate
- Implementation of Google Home Voice Assistant dialog flow APIapi > Listening for the city.
- Searching in Winding Tree (using WT read API) for hotels in particular city.
- Reading the found hotels
- Selecting hotels and dates
- Composing WT booking object, hashong and signing by verified domain SSL certificate private key
- Seding booking to WT booking API endpoint
- Receiving booking and fetching public key of varified domain
- Checking validity of signature with the domain public key
- Google Home API / Dialog is not that easy
- The signatures and hashes should be in headers so the content of the request allways correspond to signature
- Various SSL certificate formats
- Searching by city and WT read filter params