Skip to content

orhanemree/ataturk-resimleri-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atatürk Resimleri API

Atatürk'ün 100 farklı resmi ile oluşturulmuş bir JSON API.

Basit Kullanım

GET https://ataturk-resimleri-api.herokuapp.com/

Sonuç

{
    "id":69,
    "image":"https://ataturk-resimleri-api.herokuapp.com/images/69.png"
}

Endpointler

Endpoint Sonuç
/ JSON biçiminde rastgele bir sonuç döndürür.
/resim Rastgele bir resim döndürür.
/:id Girilen id'ye göre JSON biçiminde sonuç döndürür.
/:id/resim Girilen id'ye göre bir resim döndürür.

Örnekler

GET https://ataturk-resimleri-api.herokuapp.com/75
{
    "id":75,
    "image":"https://ataturk-resimleri-api.herokuapp.com/images/75.png"
}

GET https://ataturk-resimleri-api.herokuapp.com/75/resim

Lisans

Atatürk Resimleri API Apache License 2.0 ile lisanslanmıştır.