v1SpeechLanguagemodelsGet
/v1/speech/languagemodels
Usage and SDK Samples
curl -X GET "https://api.apieco.ir/farsava/v1/speech/languagemodels"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LanguagemodelApi;
import java.io.File;
import java.util.*;
public class LanguagemodelApiExample {
public static void main(String[] args) {
LanguagemodelApi apiInstance = new LanguagemodelApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
try {
array[inline_response_200_1] result = apiInstance.v1SpeechLanguagemodelsGet(apiecoKey);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LanguagemodelApi#v1SpeechLanguagemodelsGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.LanguagemodelApi;
public class LanguagemodelApiExample {
public static void main(String[] args) {
LanguagemodelApi apiInstance = new LanguagemodelApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
try {
array[inline_response_200_1] result = apiInstance.v1SpeechLanguagemodelsGet(apiecoKey);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LanguagemodelApi#v1SpeechLanguagemodelsGet");
e.printStackTrace();
}
}
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
LanguagemodelApi *apiInstance = [[LanguagemodelApi alloc] init];
[apiInstance v1SpeechLanguagemodelsGetWith:apiecoKey
completionHandler: ^(array[inline_response_200_1] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var FarsavaApi = require('farsava_api');
var api = new FarsavaApi.LanguagemodelApi()
var apiecoKey = apiecoKey_example; // {String} apikey for use API
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.v1SpeechLanguagemodelsGet(apiecoKey, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class v1SpeechLanguagemodelsGetExample
{
public void main()
{
var apiInstance = new LanguagemodelApi();
var apiecoKey = apiecoKey_example; // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
try
{
array[inline_response_200_1] result = apiInstance.v1SpeechLanguagemodelsGet(apiecoKey);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling LanguagemodelApi.v1SpeechLanguagemodelsGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\LanguagemodelApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
try {
$result = $api_instance->v1SpeechLanguagemodelsGet($apiecoKey);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LanguagemodelApi->v1SpeechLanguagemodelsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::LanguagemodelApi;
my $api_instance = WWW::SwaggerClient::LanguagemodelApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
eval {
my $result = $api_instance->v1SpeechLanguagemodelsGet(apiecoKey => $apiecoKey);
print Dumper($result);
};
if ($@) {
warn "Exception when calling LanguagemodelApi->v1SpeechLanguagemodelsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.LanguagemodelApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
try:
api_response = api_instance.v1_speech_languagemodels_get(apiecoKey)
pprint(api_response)
except ApiException as e:
print("Exception when calling LanguagemodelApi->v1SpeechLanguagemodelsGet: %s\n" % e)
Parameters
Header parameters
Name | Description |
---|---|
apieco-key* |
String
apikey for use API
Required
|