Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
All changelogs are now on the site:
To use the API, you need an authentication key that you can get by connecting or register to
Night API Documentation, to explain you how to use the API and the NPM module properly
The differents methods to get images with the NPM module
Differents images types exist in the API, currently there are three and here they are:
SFW: You will receive only SFW (Safe For Work) images
NSFW: You will receive only NSFW (Not Safe For Work) images
Voici les rate-limites pour les différentes routes de l'API
: You will receive only animals image
Jokes - 5 req/sec
(10 req/sec
)
Games - 4 req/sec
( 8 req/sec
)
Animals - 10 req/sec*
( 20 req/sec*
)
NSFW - 10 req/sec
( 20 req/sec
)
SFW - 10 req/sec
( 20 req/sec
)
Generateurs (QRcode, Captcha, reader) - 3 req/sec
( 5 req/sec
)
IP infos - 10 req/sec
( 20 req/sec
)
L'étoile "" indique le rate-limites pour les membres premium * : La rate-limit s'applique à toute requete pour une image d'animaux
Currently we have 13 animals available on the API:
Animals available:
Dog
Cat
Fox
Giraffe
Kangaroo
Lion
Quokka
Wolf
Lézard
Léopard
Singes
Paon
Hamster
The differents methods to get game server information with the NPM module
Differents games exist in the API, currently there are three and here they are:
: Get information of a Garry's Mod server by his IP
: Get information of a Minecraft server by his IP
: Get information of a FiveM server by his IP
Basic information to know before using the Jokes API
This API requires an API key to be sent along with your requests: Get yours by creating an account
Different methods exist to have jokes, currently there are three and here they are:
Here is an example of what each method returns
: You can only choose which category of joke you do not want to have
: You will receive only the jokes of which you indicated the category
: You will receive the jokes of which you indicate the ID
View all the changelogs of the API and the NPM module since the start of the project
The changelogs since the start of Night-API
The changelogs since the start of Night-API
This API requires an API key to be sent along with your requests: Get yours by creating an account
Currently there are 13 animals available on the API:
Choose which Category of joke you would like to have
ID
Number
An image ID
authorization*
String
Your API key
Basic information to know before using the SFW API
This API requires an API key to be sent along with your requests: Get yours by creating an account
Different methods exist to have SFW images, currently there are three and here they are:
Here is an example of what each method returns
: You have random images
: You will receive only the images of which you indicated the category
: You will receive the images of which you indicate the ID
Choose which Category of joke you would like to have
Basic information to know before using the NSFW API
This API requires an API key to be sent along with your requests: Get yours by creating an account
Different methods exist to have NSFW images, currently there are three and here they are:
Here is an example of what each method returns
: You have random images
: You will receive only the images of which you indicated the category
: You will receive the images of which you indicate the ID
All kinds of jokes of different types
Choose which Category of joke you would like to have
GET
https://api.night-api.com/images/nsfw/:type
type*
String
The type of NSFW image to get
authorization*
String
Your API key
Lists of available NSFW categories:
Anal
Ass
Boobs
Gonewild
Hanal
Hass
Hboobs
Hentai
Hkitsune
Hmidriff
Hneko
Hthigh
Neko
Paizuri
Pgif
Pussy
Tentacle
Thigh
Yaoi
Or with the module
This API requires an API key to be sent along with your requests: Get yours by creating an account
The QRcode category have two part:
In order to make a request to the api you must have an api key that you will find on your
For any question we are at your disposal on our
: You can generate a QRcode of your choice
: You can read the data of a QRcode (For detect dangerous QRcode or other)
Developed by Mojang Studios
Basic information to know before using the Games API
Currently the game part of the api only supports three game categories which are the following:
The use of the api is explained in more detail in the following pages
Here is an example of what the API will return when you make a request
In order to make a request to the api you must have an api key that you will find on your
For any question we are at your disposal on our :)
The server used is a Garry's Mod server named
authorization*
String
Your API key
backgroundDimming
String
Color of the dimming mask above the background image.
logoImage
String
Logo image to be displayed at the center of the QR code.
Accepts a data:
string in web browsers or a Buffer in Node.js.
When set to undefined
or null
, the logo is disabled.
logoCornerRadius
Number
Corner radius of the logo image in pixels.
backgroundImage
String
Background image to be used in the QR code.
Accepts a data:
string in web browsers or a Buffer in Node.js.
autoColor
Boolean
Automatically calculate the colorDark value from the QR code's background.
colorLight
String
Color of the empty areas on the QR code.
colorDark
String
Color of the blocks on the QR code.
size
Number
Size of the QR code in pixel.
text*
String
Text to be encoded in the QR code.
All kinds of jokes of different types
GET
https://api.night-api.com/jokes
Génère une blague aléatoirement.
disallow
string
To avoid the generation of certain categories of jokes
authorization*
String
Your API key
Lists of available categories:
global
dev
dark
limit
beauf
blondes
Or with the NPM module
With this method, you can specify certain categories that you do not want to receive.
authorization*
String
Your API key