charactersArToFa
send your fr text with ar characters to convert fr text without ar characters
/apitalk/digit-character-converter/characters/ar_to_fa
Usage and SDK Samples
curl -X POST "https://api.apieco.ir/apitalk/digit-character-converter/characters/ar_to_fa"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CharactersApi;
import java.io.File;
import java.util.*;
public class CharactersApiExample {
public static void main(String[] args) {
CharactersApi apiInstance = new CharactersApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String text = text_example; // String | your text with ar characters
try {
response result = apiInstance.charactersArToFa(apiecoKey, text);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CharactersApi#charactersArToFa");
e.printStackTrace();
}
}
}
import io.swagger.client.api.CharactersApi;
public class CharactersApiExample {
public static void main(String[] args) {
CharactersApi apiInstance = new CharactersApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String text = text_example; // String | your text with ar characters
try {
response result = apiInstance.charactersArToFa(apiecoKey, text);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CharactersApi#charactersArToFa");
e.printStackTrace();
}
}
}
String *apiecoKey = apiecoKey_example; // apikey for use API
String *text = text_example; // your text with ar characters
CharactersApi *apiInstance = [[CharactersApi alloc] init];
//
[apiInstance charactersArToFaWith:apiecoKey
text:text
completionHandler: ^(response output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var DigitCharacterConverterApi = require('digit_character_converter_api');
var api = new DigitCharacterConverterApi.CharactersApi()
var apiecoKey = apiecoKey_example; // {String} apikey for use API
var text = text_example; // {String} your text with ar characters
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.charactersArToFa(apiecoKey, text, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class charactersArToFaExample
{
public void main()
{
var apiInstance = new CharactersApi();
var apiecoKey = apiecoKey_example; // String | apikey for use API
var text = text_example; // String | your text with ar characters
try
{
//
response result = apiInstance.charactersArToFa(apiecoKey, text);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling CharactersApi.charactersArToFa: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\CharactersApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$text = text_example; // String | your text with ar characters
try {
$result = $api_instance->charactersArToFa($apiecoKey, $text);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CharactersApi->charactersArToFa: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CharactersApi;
my $api_instance = WWW::SwaggerClient::CharactersApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $text = text_example; # String | your text with ar characters
eval {
my $result = $api_instance->charactersArToFa(apiecoKey => $apiecoKey, text => $text);
print Dumper($result);
};
if ($@) {
warn "Exception when calling CharactersApi->charactersArToFa: $@\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.CharactersApi()
apiecoKey = apiecoKey_example # String | apikey for use API
text = text_example # String | your text with ar characters
try:
#
api_response = api_instance.characters_ar_to_fa(apiecoKey, text)
pprint(api_response)
except ApiException as e:
print("Exception when calling CharactersApi->charactersArToFa: %s\n" % e)
Parameters
Header parameters
Name | Description |
---|---|
apieco-key* |
String
apikey for use API
Required
|
Form parameters
Name | Description |
---|---|
Text* |
String
your text with ar characters
Required
|