Skip to content

orthosie/jokes-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jokes One API

A client for popular jokes.one jokes API. Jokes one offers plenty on the jokes area Joke of the day, Knock Knock Jokes, Blonde Jokes, Chuck Norris and more.

This repository aims to collect different clients (php, python, swift, java, javascript etc) for jokes one API.

PHP

Installation

Use Composer to install the library.

$ composer require orthosie/jokes-api

Basic usage

use Jokes\One\RestClient;

$jorc = new RestClient();

$jo = $jorc->joke_of_the_day();
$joc = $jorc->joke_of_the_day_categories();

print_r($jo);
print_r($joc);

print "Limit : " . $jorc->rate_limit_limit();
print "Remaining : " . $jorc->rate_limit_remaining(); 

About

A client for popular jokes.one API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages