日の出(入り)月の出(入り)時刻計算機
日の出(入り)月の出(入り)時刻計算機 · Acciones GPT
日の出・日の入り、月の出・月の入り時刻計算API
日の出・日の入り、月の出・月の入り時刻を計算するAPIのOpenAPI仕様
GET /ohakon/json日の出・日の入り、月の出・月の入り時刻を計算する
Esquema original API
{
"openapi": "3.1.0",
"info": {
"title": "日の出・日の入り、月の出・月の入り時刻計算API",
"description": "日の出・日の入り、月の出・月の入り時刻を計算するAPIのOpenAPI仕様",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://labs.bitmeister.jp"
}
],
"paths": {
"/ohakon/json": {
"get": {
"summary": "日の出・日の入り、月の出・月の入り時刻を計算する",
"operationId": "CalculateSunMoonRiseSet",
"parameters": [
{
"name": "mode",
"in": "query",
"description": "計算モード",
"required": true,
"schema": {
"type": "string",
"enum": [
"sun_moon_rise_set"
],
"default": "sun_moon_rise_set"
}
},
{
"name": "year",
"in": "query",
"description": "年",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "month",
"in": "query",
"description": "月",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "day",
"in": "query",
"description": "日",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "lat",
"in": "query",
"description": "緯度",
"required": true,
"schema": {
"type": "number",
"format": "float"
}
},
{
"name": "lng",
"in": "query",
"description": "経度",
"required": true,
"schema": {
"type": "number",
"format": "float"
}
}
],
"responses": {
"200": {
"description": "計算結果JSON",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"date": {
"type": "object",
"properties": {
"day": {
"type": "string"
},
"month": {
"type": "string"
},
"year": {
"type": "string"
}
}
},
"location": {
"type": "object",
"properties": {
"coordinate": {
"type": "object",
"properties": {
"lat": {
"type": "string"
},
"lng": {
"type": "string"
}
}
}
}
},
"moon_age": {
"type": "number",
"format": "float"
},
"rise_and_set": {
"type": "object",
"properties": {
"moonrise": {
"type": "number",
"format": "float"
},
"moonrise_hm": {
"type": "string"
},
"moonset": {
"type": "number",
"format": "float"
},
"moonset_hm": {
"type": "string"
},
"sunrise": {
"type": "number",
"format": "float"
},
"sunrise_hm": {
"type": "string"
},
"sunset": {
"type": "number",
"format": "float"
},
"sunset_hm": {
"type": "string"
}
}
},
"version": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {}
}
}Get longitude data
Get the latitude and longitude of the specified address.
GET /macros/s/AKfycbxznU0W6icQlXea0B8OW86awToyPoOuY-7gQbOk48t98L9HMO3kiONB2EQ2TsMRKyrUew/execGetLongitudeDataGet longitude data
Esquema original API
{
"openapi": "3.1.0",
"info": {
"title": "Get longitude data",
"description": "Get the latitude and longitude of the specified address.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://script.google.com"
}
],
"paths": {
"/macros/s/AKfycbxznU0W6icQlXea0B8OW86awToyPoOuY-7gQbOk48t98L9HMO3kiONB2EQ2TsMRKyrUew/exec": {
"get": {
"description": "Get longitude data",
"operationId": "GetLongitudeData",
"parameters": [
{
"name": "location",
"in": "query",
"description": "Get longitude data",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
}
},
"components": {
"schemas": {}
}
}