🐒Quokka
Get a quokka image
GET https://api.night-api.com/images/animals/quokka/:id
Path Parameters
Name
Type
Description
ID
Number
An image ID
Headers
Name
Type
Description
authorization*
String
Your API key
{ 
    status: 400, 
    content: 'Clé invalide' 
}{
    "status": 200,
    "content": {
        "id": 31,
        "url": "https://cdn.night-api.com/api/images/animals/quokka/FZe2h2UJXtxBVsR48cbf.png"
    }
}const axios = require("axios");
axios.get('https://api.night-api.com/images/animals/quokka', {
    headers: {
        authorization: "Your API token"
    }
})
.then(function (response) {
    console.log(response.data);
})Last updated
Was this helpful?
