Looking for examples in C++ for the /Message resource - twilio

I currently have an application that uses some of the Twilio Rest calls to receive a response and log the event. I'm looking to see what I can do to migrate to the Messages Resource URI and some example in C++ would be helpful although I suspect I can use the PHP example and rewrite them.
It seems Twilio doesn't formally support the C++. I'm using C++ because the rest of the system uses C and C++.
Thanks
Searching the Twilio API docs

Twilio developer evangelist here.
We do not support C++, but you should just be calling the endpoint directly with a URL which you can do in multiple languages.

Related

Portability check with Twilio

I am trying to determine if a number is portable to the Twilio platform.
Other providers have portability/eligibility APIs that I can use for this purpose, but I can't seem to find anything equivalent for Twilio.
Am I missing something? How can I check if a number is portable to Twilio?
Twilio doesn't offer an API or page where users can check this currently (although this is under investigation). The best approach today is opening a support ticket with the porting team to verify portability.

What are the endpoints for the new Microsoft speech service WebSocket APIs?

I want to use the new MS Speech Translation API, but I am working with Go so there is no SDK. I have a WebSockets implementation for the previous Translator Speech API, so raw WebSocket are no issue.
The documentation states that it is using WebSockets, but I was unable to find the endpoints in the documentation. Does anyone know what are the WS endpoints and their path/header parameters?
EDIT:
The documentation also says: "If you already have code that uses Bing Speech or Translator Speech via WebSockets, you can update it to use the Speech service. The WebSocket protocols are compatible, only the endpoints are different." But the new endpoints are missing.
After digging into the binaries of client SDKs I have found the Speech Translate API to be wss://<REGION>.s2s.speech.microsoft.com/speech/translation/cognitiveservices/v1
Another problem is that the WebSocket protocol is NOT compatible despite the documentation says so. Good thing is that after experiments I have found out that the new Speech Translation WS API uses the same protocol as the old Bing Speech WS API, except for URL query parameters. The Bing Speech API has a language parameter and the Speech Translate preview API has from, to, voice and features. The from and to work as expected, you can even send more languages in to (comma separated and the TTS is missing). I have not tried the voice. The features looks like doing nothing and there are always partial results, timing info and TTS.
The responses are also different, but similar to Bing Speech. They have headers and there are multiple different JSONs. Just observe the raw strings.
As this is a preview API it can change at any time.
There hasn't been substantial changes in the Websocket protocol, so the old documentation should be reasonable accurate.
The Microsoft Cognitive Services Speech SDK doesn't support GO yet, it is on the roadmap, but will not happen this calendar year.
thx
Wolfgang

Survey monkey c# console integration

Please anyone provide some examples on c# Survey monkey integration console application?
Are you asking specifically on how to make API requests with C#? Or How to use the SurveyMonkey API.
The docs for the SurveyMonkey API can be found here. Just from doing some searching online, there is documentation on how to make web API requests in C# here.
There is an SDK for using the SurveyMonkey API in C# I've seen people use available here.
Hopefully any of those links can help you get started.
Use SurveyMonkeyApi NuGet package.

How are dart generated libraries generated?

When working with dart, you stumble upon a few generated libraries. There is a whole GitHub group with a collections of those: https://github.com/dart-google-apis
I have not yet figured out how these libraries are generated? Are they compiled from another language? Which language? And which compiler is used?
Most of Google's external APIs are described in JSON document by an API called the Discovery Service. The document is called the discovery document and provides enough information to generate a client API that can represent the APIs resources as objects and can connect over HTTP to make calls. The Dart libraries you linked to were generated this way.
You can read about the Discovery Service here: https://developers.google.com/discovery/v1/using
And the generator that those libraries used is here: https://github.com/dart-gde/discovery_api_dart_client_generator

Any working Twitter API client for Common Lisp?

I was just trying to use cl-twitter, installed it first using quicklisp and I got this error when executing examples from its documentation:
The function TWITTER:AUTHENTICATE-USER is undefined.
Is this software up to date? Or it's just that the documentation is not? Are there any other working Common Lisp libs for Twitter API?
I cannot offer a full client library, but for the authentication part of it, cl-oauth works well. See this piece of code for a usage example.

Resources