As far as I know, there is still no official API for Google Scribe. But to play a little, you can use the same API calls as Google Scribe. Just check the AJAX calls that they make during input.
Here is an example call with curl:
curl -i -X POST -H 'Content-Type: application/json' -d '{"method":"scribe.textSuggestions.get","id":"scribe.textSuggestions.get","params":{"query":". this is a t","cp":40},"jsonrpc":"2.0","key":"scribe.textSuggestions.get","apiVersion":"v1"}' https://www.googleapis.com/rpc?key=AIzaSyBStAcD4WoVx3l1Cmc8xKvJTm2c0G2eqH4
source
share