TaskGPT
TaskGPT · GPT 작업
World Time API
This specification defines the interaction with the World Time API to get the current time for a specific timezone.
GET /timezone/europe/londonGet the current time for Europe/London timezone
원본 API 스키마
{
"openapi": "3.0.0",
"info": {
"title": "World Time API",
"description": "This specification defines the interaction with the World Time API to get the current time for a specific timezone.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://worldtimeapi.org/api",
"description": "World Time API server"
}
],
"paths": {
"/timezone/europe/london": {
"get": {
"operationId": "getLondonTime",
"summary": "Get the current time for Europe/London timezone",
"responses": {
"200": {
"description": "Current time in Europe/London timezone",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"abbreviation": {
"type": "string"
},
"client_ip": {
"type": "string"
},
"datetime": {
"type": "string"
},
"day_of_week": {
"type": "integer"
},
"day_of_year": {
"type": "integer"
},
"dst": {
"type": "boolean"
},
"dst_from": {
"type": "string"
},
"dst_offset": {
"type": "integer"
},
"dst_until": {
"type": "string"
},
"raw_offset": {
"type": "integer"
},
"timezone": {
"type": "string"
},
"unixtime": {
"type": "integer"
},
"utc_datetime": {
"type": "string"
},
"utc_offset": {
"type": "string"
},
"week_number": {
"type": "integer"
}
}
}
}
}
}
}
}
}
}
}