Documentation NaosAndCo
  • Commandes
    • 📘Commandes
      • 🔧Administration
      • 🤖Auto Moderation
      • ⚒️Moderation
      • 🎨Anime
      • 🪙Economy
      • 😂Funny
      • 🎉Giveaway
      • 🖼️Image
      • 🛑Information
      • 🎵Music
      • 🫂Social
      • 📈Statistics
      • ✒️Suggestion
      • 🎫Ticket
      • 🔩Utilitaire
  • API
    • 1️⃣V1
      • 🖼️Photos
      • 🤣Blagues
      • 💌Motivation
Powered by GitBook
On this page
  • The API return 3 JSON datas :
  • INFO : "joke" and "fall" contain the error message if there is one
  1. API
  2. V1

Blagues

PreviousPhotosNextMotivation

Last updated 6 months ago

API Base :

Texts in purple can be clicked for more information.

The API return 3 JSON datas :

  • "status" : Le statut de l'API

  • "blague" : La blague

  • "chute" : La chute de la blague

INFO : "joke" and "fall" contain the error message if there is one

Param
Method
Example

GET

https://api.naosandco.me/v1/blague.php?id=1

Code Status
Type
Definition

200

String

Status 200 tells you that the desired request was completed without errors.

500

String

Code 500 indicates a server error.

503

String

Status 503 tells you that the site is inaccessible, this may be due to a site downtime for example.

1️⃣
🤣
https://api.naosandco.me/v1/blague.php