API Free

Voici comment fonctionne l'API Free. Utiliser l'API free permet de ne pas se connecter sur le dashboard de J0KE mais cette version est très limitée.

get
Lien de l'API FREE

https://j0ke.xyz/free/api/:type
Request
Response
Request
Path Parameters
type
required
string
Type de contenu que vous souhaitez recevoir
Response
200: OK
All is ok! You are using FREE API, register your app to have more jokes !
{"status" : 200, "error": "OK", "message" : "All is ok! You are using FREE API, register your app to have more jokes !", "id":11, "joke": ["Un geek ne sort pas
du métro, il libère la rame."]}
401: Unauthorized
Limit of 10 requests per second
{"status": 401, "error": "Unauthorized", "message": "Limit of 10 requests per second"}
404: Not Found
Invalid type / Type is empty
{"status": 404, "error": "Not found", "message": "Invalid type"}