Skip to content

oskarTom/Pilkington-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pilkington API

API that returns quotes by Karl Pilkington in JSON format

A random quote can be accessed from http://172.232.159.222/random

All quotes can be accessed from http://172.232.159.222/all

Example

By adding the following lines to your .bashrc, your terminal will print a random Karl Pilkington quote everytime it is opened

PILKINGTON_QUOTE=$(curl -s http://172.232.159.222/random | jq -r '.quote' | fold -s -w 40 )
echo -e "\n\e[3m\e[1m$PILKINGTON_QUOTE\e[0m\n"

Bash example

About

"I find that if you just talk, your mouth comes up with stuff." – Karl Pilkington

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published