# 指定日の最適観賞スポットを取得

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/best:
    get:
      summary: 指定日の最適観賞スポットを取得
      deprecated: false
      description: >-
        このエンドポイントは、指定された日付と日の出・日の入りの種類に基づいて、最適な観賞スポットを返します。特定の日に訪問する計画がある場合や季節ごとの観賞スポットを知りたい場合に役立ちます。
      operationId: get_api_best_date_date_sunrisesunsettype_viewtype_dateflg_true
      tags: []
      parameters:
        - name: date
          in: query
          description: ''
          required: false
          schema:
            type: string
        - name: viewType
          in: query
          description: ''
          required: false
          schema:
            type: string
        - name: find
          in: query
          description: ''
          required: false
          schema:
            type: string
      responses:
        '200':
          description: HTTP 200 response
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        sunriseRanges:
                          type: array
                          items:
                            type: object
                            properties:
                              sunriseSunsetType:
                                type: string
                              from:
                                type: string
                              to:
                                type: string
                            x-apidog-orders:
                              - sunriseSunsetType
                              - from
                              - to
                        address:
                          type: string
                        lng:
                          type: number
                        lat:
                          type: number
                        vistaResourcesName:
                          type: string
                        typeCode:
                          type: string
                        typeName:
                          type: string
                      x-apidog-orders:
                        - sunriseRanges
                        - address
                        - lng
                        - lat
                        - vistaResourcesName
                        - typeCode
                        - typeName
                x-apidog-orders:
                  - results
              example:
                results:
                  - sunriseRanges:
                      - sunriseSunsetType: sunrise
                        from: '2025-01-13'
                        to: '2025-01-13'
                    address: 愛知県名古屋市東区
                    lng: 136.933594
                    lat: 35.181446
                    vistaResourcesName: 名古屋城
                    typeCode: '1'
                    typeName: 歴史的建造物
          headers: {}
          x-apidog-name: ''
      security: []
      x-apidog-folder: ''
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1243801/apis/api-32131737-run
components:
  schemas: {}
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: jwt
servers:
  - url: https://livlog.xyz/asayuubiyori
    description: https://livlog.xyz/asayuubiyori
security: []

```
