Getting Started

Welcome to the Kabal API! This API provides access to resources such as Atatürk images, song lyrics, and daily horoscopes. This guide will help you get started with making requests to the API, understanding responses, and handling errors.

Base URL

All API requests should be made to the following base URL:

https://api.emirkabal.com/v1

Prerequisites

  • HTTP Client: Use tools like curl, Postman, or any programming language with HTTP request capabilities (e.g., Python requests, JavaScript fetch).

  • API Knowledge: Familiarity with REST APIs and JSON.

  • No authentication is required for the current version of the API.

Making Your First Request

To test the API, try fetching an Atatürk image:

curl https://api.emirkabal.com/v1/ataturk

Expected Response:

{
  "url": "https://www.ktb.gov.tr/Resim/16584,026501jpg.png"
}