LogoLogo
  • ๐Ÿ‘ฅAbout us
  • ๐Ÿ’พChangelogs
    • ๐ŸŒAPI
    • ๐Ÿ“ฒModule
  • โ›”Rate-Limit
  • โœจStart with the NPM module
  • Module
    • ๐Ÿ“ธImages
      • ๐ŸฌAnimals
    • ๐ŸŽฎGames
      • ๐ŸŽฎGarry's Mod
      • ๐ŸŽฎMinecraft
      • ๐ŸŽฎFiveM
  • Joke
    • ๐ŸคฃJokes
      • ๐ŸŽฒRandom
      • ๐Ÿ“‹Category
      • ๐Ÿ†”ID
  • Images
    • ๐Ÿ™Animals
      • ๐Ÿ•Dog
      • ๐ŸˆCat
      • ๐ŸฆŠFox
      • ๐Ÿฆ’Giraffe
      • ๐Ÿฆ˜Kangaroo
      • ๐ŸฆLion
      • ๐Ÿ’Quokka
      • ๐ŸบWolf
      • ๐ŸฆŽLรฉzard
      • ๐Ÿ†Lรฉopard
      • ๐Ÿ’Singes
      • ๐ŸฆšPaon
      • ๐ŸนHamster
    • ๐Ÿฅ˜SFW
      • ๐ŸŽฒRandom
      • ๐Ÿ“‹Category
      • ๐Ÿ†”ID
    • ๐Ÿ”žNSFW
      • ๐ŸŽฒRandom
      • ๐Ÿ“‹Category
      • ๐Ÿ†”ID
    • ๐Ÿ—๏ธUtils
      • ๐Ÿ“ธQR Code
        • ๐Ÿ”Generator
        • ๐Ÿ“ƒReader
      • ๐Ÿ”Captcha
      • โ„น๏ธIP infos
  • Games
    • ๐ŸŽฎGames
      • ๐ŸŽฎGarry's Mod
      • ๐ŸŽฎMinecraft
      • ๐ŸŽฎFiveM
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Images
  2. Animals

Cat

Get a cat image

GET https://api.night-api.com/images/animals/cat/: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": 760,
        "url": "https://cdn.night-api.com/api/images/animals/cat/pb.jpg"
    }
}
const axios = require("axios");

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

Last updated 2 years ago

Was this helpful?

๐Ÿ™
๐Ÿˆ