Possible ways to workaround the lack of API for Siri?
Asked Answered
L

2

6

I know there is no API for Siri. It also looks like there is no indication of it changing anytime soon.

But I can't wait to tap into its nice free-speech recognition capabilities, and so I was thinking of perhaps still using it but as a "black box"?

For example, this app seems to manage to get text heard and understood by Siri, then post it on their website. Any idea how it works?

Ideas for possible ways to workaround the lack of API for Siri?

Linnea answered 9/7, 2012 at 13:4 Comment(1)
You'd probably have better luck looking into Google's voice recognition, since Android is open source.Sucking
G
3

Siri is not a stand-alone system. All the heavy lifting takes place on Apple servers located at guzzoni.apple.com. If your target devices lookup a DNS server that you have access to (corporate wifi, home network etc) its possible to redirect communication to this address via a proxy that will allow you to extract all the useful parts. For this purpose the SiriProxy project on GitHub may be of interest to you.

Also, if you're interested in diving further into how the Siri communication works here's the tool chain for reverse engineering the protocol (on GitHub too).

Glary answered 10/7, 2012 at 22:32 Comment(0)
A
1

You could combine Googles inofficial speech recognition web service with 'siri-like' APIs like Maruuba, https://www.mashape.com/search?query=siri ...

Azpurua answered 15/1, 2014 at 11:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.