> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.iklim.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Hava Durumu Simgesi Al

> Talep edilen durum ve gündüz/gece varyantı için WEBP simgesini sunar.



## OpenAPI

````yaml /open-api/tr/forecasts_version-1.json get /v1/weather-icons/{dayOrNight}/{iconName}
openapi: 3.1.0
info:
  title: OpenAPI definition
  version: v0
servers:
  - url: https://api.iklim.co
    description: Production server
  - url: https://api-test.iklim.co
    description: Test server
security: []
tags:
  - name: Hava Tahmini Servisi
    description: Anlık, saatlik ve günlük hava tahmini işlemlerini yönetir
  - name: Hava Durumu Simgeleri
    description: Hava tahmini uç noktalarının kullandığı WEBP simgelerini sunar
paths:
  /v1/weather-icons/{dayOrNight}/{iconName}:
    get:
      tags:
        - Hava Durumu Simgeleri
      summary: Hava Durumu Simgesi Al
      description: Talep edilen durum ve gündüz/gece varyantı için WEBP simgesini sunar.
      operationId: getIconByName
      parameters:
        - name: dayOrNight
          in: path
          required: true
          schema:
            type: string
            enum:
              - day
              - night
        - name: iconName
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Hava durumu simgesi başarıyla döndürüldü.
          content:
            image/png:
              schema:
                type: string
                format: binary
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '404':
          description: Talep edilen isim ve gündüz/gece değeri için simge bulunamadı.
          content:
            image/png:
              schema:
                type: string
                format: binary
        '500':
          description: İstek Sırasında Dahili Sunucu Hatası
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
              examples:
                Internal Server Error Example:
                  summary: Example response
                  description: Internal Server Error Example
                  value:
                    timestamp: '2025-04-14T16:58:10.414972912'
                    status: 500
                    error: Internal Server Error
                    message: An Error Occurred During Invocation
                    path: /v1/weather-icons/day/sunny
components:
  schemas:
    StandardErrorResponse:
      type: object
      description: Standart API hata cevabı yapısı
      properties:
        timestamp:
          type: string
          format: date-time
          description: Hatanın oluştuğu zaman damgası
          example: YYYY-mm-DDTHH:MM:SS.nnnnnnnnn
        status:
          type: integer
          format: int32
          description: HTTP durum kodu
          example: XXX
        error:
          type: string
          description: Hata adı veya tipi
          example: Error Name
          minLength: 1
        message:
          type: string
          description: Ana hata mesajı
          example: Error Message
          minLength: 1
        messages:
          type: array
          description: Ek detaylı hata mesajları
          items:
            type: string
        path:
          type: string
          description: Hatanın oluştuğu istek yolu
          example: /endpoint/uri/here
          minLength: 1
      required:
        - error
        - message
        - path
        - status
        - timestamp

````