This project is a client for Chuck Norris Api written in Smalltalk (Cuis).
After cloning this repository, open a workspace in Cuis and type:
Feature require: #'ChuckNorrisTalk'.
And then:
|client|
client := ChuckNorrisIoClient new.
client random. "inspect it for a random fact"
client categories. "inspect it for a list of categories"
client randomByCategory: #dev. "inspect it for a random fact by category"
client search: 'brazil' "inspect it for a list of facts"
There is a simple morph to show random facts. Execute:
ChuckNorrisMorph open
or via menu item: