Multilingual Hello API

Public

API Details

The Multilingual Hello API is a simple yet engaging service that generates personalized greetings in various languages. Given a person's name, the API responds with a friendly 'hello' message in a randomly selected non-English language. This API can be used to add a touch of international flair to user interfaces, language learning applications, or multicultural communication tools. It's designed to showcase basic language translation capabilities and personalized content generation.

Request Schema

{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the person to greet"
    }
  }
}

Response Schema

{
  "type": "object",
  "required": [
    "greeting",
    "language"
  ],
  "properties": {
    "greeting": {
      "type": "string",
      "description": "The personalized greeting in a non-English language"
    },
    "language": {
      "type": "string",
      "description": "The name of the language used for the greeting"
    }
  }
}

API Metadata

654

4

greeting
translation
personalization

API Examples

{
  "name": "Alice"
}
{
  "greeting": "Hola, Alice!",
  "language": "Spanish"
}