Rin-chan

Rin-chan · Ações GPT

GPT with World Time API for Tokyo

A custom GPT configuration that uses the World Time API to retrieve the current local time in Tokyo, Japan.

  • GET /Asia/TokyoGet Current Time in Tokyo
Esquema API original
{
  "openapi": "3.1.0",
  "info": {
    "title": "GPT with World Time API for Tokyo",
    "version": "1.0.0",
    "description": "A custom GPT configuration that uses the World Time API to retrieve the current local time in Tokyo, Japan."
  },
  "servers": [
    {
      "url": "https://worldtimeapi.org/api/timezone",
      "description": "World Time API server"
    }
  ],
  "paths": {
    "/Asia/Tokyo": {
      "get": {
        "summary": "Get Current Time in Tokyo",
        "operationId": "getCurrentTimeInTokyo",
        "responses": {
          "200": {
            "description": "Successful response with the current time in Tokyo",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "datetime": {
                      "type": "string",
                      "description": "The current date and time in Tokyo."
                    },
                    "timezone": {
                      "type": "string",
                      "description": "The timezone identifier for Tokyo."
                    }
                  },
                  "required": [
                    "datetime"
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}