SymblAISharp is a C# library for the Sybml API
API Reference - https://docs.symbl.ai/docs/api-reference/getting-started
- Async API
- Audio
- Video
- Text
- Job
- Conversation
- Abstract Topic
- Action Item
- Analytics
- Conversation
- Conversation Data
- Entity
- Experience
- Follow Up
- Formatted Transcript
- Member
- Question
- Sentiment
- Speaker Event
- Speech To Text
- Topic
- Management
- Conversation
- Tracker
- Telephony
Get the Authentication Token
AuthenticationApi authentication = new AuthenticationApi();
var authResponse = authentication.GetAuthToken(
new AuthRequest
{
type = "application",
appId = appId,
appSecret = appSecret
});
Async Audio API Usage
var response = GetAuthToken();
IAudioApi audioApi = new AudioApi(response.accessToken);
var audioResponse = await audioApi.PostAudioUrl(new AudioRequest
{
url = "https://symbltestdata.s3.us-east-2.amazonaws.com/sample_audio_file.wav",
});
Async Video API Usage
var response = GetAuthToken();
IVideoApi videoApi = new VideoApi(response.accessToken);
var videoResponse = await videoApi.PostVideoUrl(new VideoRequest
{
url = "https://symbltestdata.s3.us-east-2.amazonaws.com/sample_video_file.mp4",
});
Get All Conversation API Usage
var response = GetAuthToken();
IConversationApi conversationApi = new ConversationApi(response.accessToken);
var allConversationResponse = conversationApi.GetAllConversations();
Telephony API Usage
string email = "ranjancse@gmail.com";
var response = GetAuthToken();
ITelephonyApi telephonyApi = new TelephonyApi(response.accessToken);
var telephonyResponse = await telephonyApi.StartSIPConnection(new SIPConnectRequest
{
operation = "start",
endpoint = new SymblAISharp.TelephonyApi.SIP.Endpoint
{
providerName = "Symbl",
type = "sip",
uri = "sip:8021@sip.rammer.ai",
audioConfig = new AudioConfig
{
sampleRate = 48000,
encoding = "OPUS",
sampleSize = 16
}
},
actions = new System.Collections.Generic.List<SymblAISharp.TelephonyApi.SIP.Action>
{
new SymblAISharp.TelephonyApi.SIP.Action
{
invokeOn = "stop",
name = "sendSummaryEmail",
parameters = new SymblAISharp.TelephonyApi.SIP.Parameters
{
emails = new System.Collections.Generic.List<string>
{
email
}
}
}
},
data = new SymblAISharp.TelephonyApi.SIP.Data
{
session = new SymblAISharp.TelephonyApi.SIP.Session
{
name = "Unit Test Session"
}
}
});
MIT
Free Software, Hell Yeah!
[Async API]: https://docs.symbl.ai/docs/async-api/introduction
[Telephony API]: https://docs.symbl.ai/docs/telephony/introduction
[Conversation API]: https://docs.symbl.ai/docs/conversation-api/introduction
[Experience API]: https://docs.symbl.ai/docs/api-reference/experience-api/post-text-summary-ui
[Tracker API]: https://docs.symbl.ai/docs/management-api/trackers/overview
[Management API]: https://docs.symbl.ai/docs/management-api/introduction
[Conversation Group API]: https://docs.symbl.ai/docs/management-api/conversation-groups/conversation-groups-intro