๐Ÿฆ˜Kangaroo

Get a kangaroo image

GET https://api.night-api.com/images/animals/kangaroo/: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/kangaroo', {
    headers: {
        authorization: "Your API token"
    }
})
.then(function (response) {
    console.log(response.data);
})

Last updated