How to Get the Gender of a First Name using Go

Perhaps the most important determination of any person’s gender is the way that person chooses to outwardly identify themselves. Without access to that user-supplied information, however, much can be determined instead from first names and the cultures they originate from. Our “Get Gender from First Name” API takes both name & country of origin into account to determine the gender most likely associated with a given name, and it supplies that gender as a string value in response. The request format for this API can be structured following the below JSON example (or XML equivalent):

Below, complementary ready-to-run Golang code examples have been provided from our API documentation page to help you structure your API call with ease. To complete your API call, you’ll need a free-tier Cloudmersive API key at minimum, which you can get by registering a free account on our website (free-tier keys yield a limit of 800 API calls per month; no financial commitments are incurred upon reaching this limit).

--

--

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cloudmersive

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.