๐ŸฆLion

Get a lion image

GET https://api.night-api.com/images/animals/lion/:id

Path Parameters

NameTypeDescription

ID

Number

An image ID

Headers

NameTypeDescription

authorization*

String

Your API key

{ 
    status: 400, 
    content: 'Clรฉ invalide' 
}
const axios = require("axios");

axios.get('https://api.night-api.com/images/animals/lion', {
    headers: {
        authorization: "Your API token"
    }
})
.then(function (response) {
    console.log(response.data);
})

Last updated