TimezoneGPT (TimezoneGPT.com)

TimezoneGPT (TimezoneGPT.com) · GPT 작업

Current Time Fetcher

Fetches current time for any location

  • GET /Fetch Current Time For Particular Location

    Fetches current time for a particular location from time.is

원본 API 스키마
{
  "openapi": "3.0.1",
  "info": {
    "title": "Current Time Fetcher",
    "description": "Fetches current time for any location",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://time.is/",
      "description": "Time Zone Aggregator Website"
    }
  ],
  "paths": {
    "/": {
      "get": {
        "summary": "Fetch Current Time For Particular Location",
        "description": "Fetches current time for a particular location from time.is",
        "operationId": "fetchCurrentTimeForParticularLocation",
        "parameters": [],
        "responses": {
          "200": {
            "description": "HTML content of the current time is page.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "html_content": {
                      "type": "string",
                      "description": "The HTML content of the Time Is page."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error fetching current time for particular location.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "detail": {
                      "type": "string",
                      "description": "Error details."
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}