GENDER API JAVASCRIPT

Primero instala nuestra biblioteca con el compositor:

Vea la documentación completa del cliente aquí:

https://github.com/markus-perl/gender-api-client

Primero instala nuestra biblioteca con NPM:

Vea la documentación completa del cliente aquí:

https://github.com/markus-perl/gender-api-client-npm

Primero instala nuestra biblioteca con NPM:

$ npm i gender-api.com-client --save
try {
    var GenderApi = require('gender-api.com-client');

    var genderApiClient = new GenderApi.Client('your api key');

    genderApiClient.getByFirstName('theresa', function (response) {
        console.log(response.gender); //female
        console.log(response.accuracy); //98
    });

    genderApiClient.getByFirstNameAndCountry('john', 'US', function (response) {
        console.log(response.gender); //male
        console.log(response.accuracy); //99
    });

}
catch(e) {
    console.log('Error:', e);
}

Link zur Client-Dokumentation auf Github:

https://github.com/markus-perl/gender-api-client-npm

Vea la documentación completa del cliente aquí:

https://github.com/markus-perl/gender-api-client-npm

Descargue un proyecto de muestra aquí:

Documentación:

https://github.com/microknights/Gender-API
Chat

Cookies

We use cookies (including third-party cookies) to collect information about visitors' use of our website. These cookies help us to provide you with the best possible online experience and to constantly improve our websites. Information collected via cookies may also be processed outside the European Union, for example, in the USA. By clicking the "Accept All" button, you agree to the use of cookies. To withdraw your consent at any time, change your settings or for more information about the use of cookies, click here or "Cookie Settings" at the end of the page.