Gender API
https://gender-api.com/get?name=elizabeth&key=yourkey
{"name":"elizabeth", "gender":"female", "samples":355, "accuracy":100, "duration":"34ms"}
GENDER API EXPLAINED
TESTEZ NOTRE PRODUIT
OPTIMISEZ VOS FORMULAIRES D’INSCRIPTION
Sans Gender-API.com

Avec Gender-API.com

NOUS POUVONS ÉGALEMENT DÉTERMINER LE SEXE DE VOTRE CLIENT SUR LA BASE DE SON ADRESSE ÉLECTRONIQUE

UNE INTÉGRATION FACILE
Notre API peut facilement être intégrée à toute plateforme existante dans n’importe quelle langue. Jetez un coup d'œil à quelques exemples de codage.
Commencez par installer notre bibliothèque avec Composer :
$ composer require gender-api/client
use GenderApi\Client as GenderApiClient;
try {
$apiClient = new GenderApiClient('insert your API key');
// Query a single name
$lookup = $apiClient->getByFirstName('elisabeth');
if ($lookup->genderFound()) {
echo $lookup->getGender(); // female
}
// Query a full name and improve the result by providing a country code
$lookup = $apiClient->getByFirstNameAndLastNameAndCountry('Thomas Johnson', 'US');
if ($lookup->genderFound()) {
echo $lookup->getGender(); // male
echo $lookup->getFirstName(); // Thomas
echo $lookup->getLastName(); // Johnson
}
} catch (GenderApi\Exception $e) {
// Name lookup failed due to a network error or insufficient credits
// left. See https://gender-api.com/en/api-docs/error-codes
echo 'Exception: ' . $e->getMessage();
}
Link zur Client-Dokumentation auf Github:
https://github.com/markus-perl/gender-api-client
L'ensemble de la documentation client est accessible ici :
TÉLÉCHARGEMENT DE FICHIERS CSV ET EXCEL
Téléchargez des fichiers CSV comportant jusqu’à 10 000 000 jeux de données ou des fichiers Excel comprenant jusqu'à 100 000 jeux de données par fichier.

Plan gratuit disponible
Rejoignez-nous dès maintenant et chaque mois, vous recevrez gratuitement 500 crédits.