Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.35 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.35 KB

IbraSpeaksAPI

On the Occasion of AC Milan's 26th Serie A title this is a tribute to the man who was a key reason in their success. Zlatan Ibrahimovic, the 40 year old Sweedish Footballer who is often refered to as the Lion is renowned for his acrobatic strikes and volleys. However there is another key aspect to his game. He is often called as an arrogant and egoist footballer, but his PSG Team mate Lucas Moura says, "Zlatan is a very nice guy".

This API fetches Zlatan's most iconic Quotes randomly when called. Thanks to ESPN for providing the Quotes.

Implementation

To implement this API, we can curl or fetch the following url

ibra-speaks-api.herokuapp.com/

Implementation in JavaScript

fetch('https://ibra-speaks-api.herokuapp.com/').then(
        (arr)=>{
            arr.json().then(
                (res)=>{
                    console.log(res[0]["quote"]);
                }
            )
        }
    )

This is Repository is created using Node and Express. If you like it do give a star.