Reputation: 161
I want to communicate with the Google Assistant SDK via C#, and the SDK website said that for languages other than Python, I need to setup gRPC. Are there any good tutorials on this that I can use to get started? Thanks :)
https://developers.google.com/assistant/sdk/reference/rpc/
Upvotes: 0
Views: 2928
Reputation: 1653
It should be possible to use assistant API SDK from any language that support gRPC (including C#), but if there is not pre-build assistant SDK available (looks like there is one for python, not sure about other languages), it is a bit more involved to do that. In short: The .proto API definitions for all public Google APIs (including assistant API) live in "googleapis/googleapis" github repo: https://github.com/googleapis/googleapis/tree/master/google/assistant/embedded/v1alpha1 In short, here's what you need to do:
Btw, the Google API client libraries are basically a pre-packaged result of these steps, sometimes with a bit of convenience layer on top of it improve the user friendliness of a given API.
Also, usually support for more languages is added to new APIs over time (so at some point there might be and official C# client library).
Upvotes: 1