Intégrez la richesse des langues guinéennes dans vos applications
Pour utiliser l'API, vous devez inclure votre clé API dans les headers :
X-API-Key: votre_clé_api_ici
Pas encore de clé ? gratuitement
Récupérer toutes les langues guinéennes enregistrées
curl -X GET https://www.224nlambe.leaseframe.com/api/languages \
-H "X-API-Key: votre_api_key"
fetch('https://www.224nlambe.leaseframe.com/api/languages', {
headers: {
'X-API-Key': 'votre_api_key'
}
})
.then(response => response.json())
.then(data => console.log(data));
import requests
response = requests.get(
'https://www.224nlambe.leaseframe.com/api/languages',
headers={'X-API-Key': 'votre_api_key'}
)
print(response.json())
<?php
$ch = curl_init('https://www.224nlambe.leaseframe.com/api/languages');
curl_setopt($ch, CURLOPT_HTTPHEADER, ['X-API-Key: votre_api_key']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
print_r(json_decode($response, true));
?>
Récupérer les informations détaillées d'une langue et ses phrases à partir de son identifiant.
curl -X GET https://www.224nlambe.leaseframe.com/api/currentlanguages/1 \
-H "X-API-Key: votre_api_key"
fetch('https://www.224nlambe.leaseframe.com/api/currentlanguages/1', {
headers: {
'X-API-Key': 'votre_api_key'
}
}).then(response => response.json())
.then(data => console.log(data));
import requests
response = requests.get(
'https://www.224nlambe.leaseframe.com/api/currentlanguages/1',
headers={
'X-API-Key': 'votre_api_key'
}
)
print(response.json())
<?php
$ch = curl_init('https://www.224nlambe.leaseframe.com/api/currentlanguages/1');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'X-API-Key: votre_api_key'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
print_r(json_decode($response, true));
?>
Proposer une nouvelle phrase avec sa traduction
curl -X POST https://www.224nlambe.leaseframe.com/api/contribution \
-H "Content-Type: application/json" \
-H "X-API-Key: votre_api_key" \
-d '{
"phrase_fr": "Bonjour, comment allez-vous ?",
"langue": "Pular",
"traduction": "Fouta heli tan ?",
"phonetique": "[fu-ta he-li tan]",
"categorie": "Salutations"
}'
fetch('https://www.224nlambe.leaseframe.com/api/contribution', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'votre_api_key'
},
body: JSON.stringify({
"phrase_fr": "Bonjour, comment allez-vous ?",
"langue": "Pular",
"traduction": "Fouta heli tan ?",
"phonetique": "[fu-ta he-li tan]",
"categorie": "Salutations"
})
})
.then(response => response.json())
.then(data => console.log(data));
import requests
data = {
"phrase_fr": "Bonjour, comment allez-vous ?",
"langue": "Pular",
"traduction": "Fouta heli tan ?",
"phonetique": "[fu-ta he-li tan]",
"categorie": "Salutations"
}
response = requests.post(
'https://www.224nlambe.leaseframe.com/api/contribution',
json=data,
headers={'X-API-Key': 'votre_api_key'}
)
print(response.json())
<?php
$data = json_encode([
"phrase_fr" => "Bonjour, comment allez-vous ?",
"langue" => "Pular",
"traduction" => "Fouta heli tan ?",
"phonetique" => "[fu-ta he-li tan]",
"categorie" => "Salutations"
]);
$ch = curl_init('https://www.224nlambe.leaseframe.com/api/contribution');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Content-Type: application/json',
'X-API-Key: votre_api_key'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
print_r(json_decode($response, true));
?>
{
"success": true,
"message": "Contribution submitted successfully. Awaiting moderation.",
"contribution_id": 123,
"status": "pending"
}
Récupérer les traductions avec filtres
curl -X GET "https://www.224nlambe.leaseframe.com/api/translation?source_language_name=Français&target_language_name=Pular&source_text=Bonjour, comment allez-vous ?" \
-H "X-API-Key: votre_api_key"
const params = new URLSearchParams({
source_language_name: 'Français',
target_language_name: 'Pular',
source_text: "Bonjour, comment allez-vous ?"
});
fetch(`https://www.224nlambe.leaseframe.com/api/translation?${params}`, {
headers: {
'X-API-Key': 'votre_api_key'
}
})
.then(response => response.json())
.then(data => console.log(data));
import requests
params = {
source_language_name: 'Français',
target_language_name: 'Pular',
source_text: "Bonjour, comment allez-vous ?"
}
response = requests.get(
'https://www.224nlambe.leaseframe.com/api/translation',
params=params,
headers={'X-API-Key': 'votre_api_key'}
)
print(response.json())
<?php
$params = http_build_query([
'source_language_name' => 'Français',
'target_language_name' => 'Pular',
'limit' => "Bonjour, comment allez-vous ?"
]);
$ch = curl_init('https://www.224nlambe.leaseframe.com/api/translations?' . $params);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['X-API-Key: votre_api_key']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
print_r(json_decode($response, true));
?>
{
"success": true,
"mode":"exact",
"data":
{
"id": 1,
"source_text":"Bonjour, comment allez-vous ?",
"target_text":"Fouta heli tan ?",
"phonetic":"[fu-ta he-li tan]",
"language_name":"Pular"
},
}
Récupérer les audios d'une traductions avec filtres
curl -X GET "https://www.224nlambe.leaseframe.com/api/audio-translate?audio_text=On khoei nsigafei kinkia&language_name=Soussou&gender=male" \
-H "X-API-Key: votre_api_key"
const params = new URLSearchParams({
"audio_text" : "On khoei n'sigafei kinkia",
"language_name" : "Soussou",
"gender" : "male"
});
fetch(`https://www.224nlambe.leaseframe.com/api/audio-translate?${params}`, {
headers: {
'X-API-Key': 'votre_api_key'
}
})
.then(response => response.json())
.then(data => console.log(data));
import requests
params = {
"audio_text" : "On khoei n'sigafei kinkia",
"language_name" : "Soussou",
"gender" : "male"
}
response = requests.get(
'https://www.224nlambe.leaseframe.com/api/audio-translate',
params=params,
headers={'X-API-Key': 'votre_api_key'}
)
print(response.json())
<?php
$params = http_build_query([
"audio_text" => "On khoei n'sigafei kinkia",
"language_name" => "Soussou",
"gender" => "male"
]);
$ch = curl_init('https://www.224nlambe.leaseframe.com/api/audio-translate?' . $params);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['X-API-Key: votre_api_key']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
print_r(json_decode($response, true));
?>
{
"success": true,
"data": {
"language_name": "Soussou",
"speaker_name": "Oury Barry",
"gender": "male",
"dialect": "Conakry",
"audio_text": "On khoei n'sigafei kinkia",
"audio_url": "/uploads/audio/audio_6a677989d80b78.74986016.mp3",
"duration": 9.59,
"sample_rate": 44100,
"file_size": 306782,
"mime_type": "audio/mpeg",
"quality_score": 0,
"status": "approved",
"created_at": "2026-07-27 15:30:17"
},
"search_critere": {
"audio_text": "On khoei n'sigafei kinkia",
"language_name": "Soussou",
"gender": "male"
}
}
Testez les endpoints directement depuis cette console
Créez un compte gratuitement sur notre plateforme, connectez-vous et votre clé API sera générée automatiquement dans votre tableau de bord.
Chaque appel à un endpoint compte comme une requête. Les requêtes échouées (erreur 4xx/5xx) ne sont pas comptées dans votre quota.
Oui, toutes les communications se font via HTTPS, et chaque requête doit être authentifiée avec votre clé API unique.
Actuellement : Soussou, Poular, Malinké, Kissié, Toma, Landoma. D'autres langues seront ajoutées régulièrement.
Les contributions sont modérées sous 24-48 heures ouvrables.
Notre équipe est là pour vous accompagner
service.leaseframe@gmail.com +224 629 82 24 52