Skip to content

thiagoslino/ChuckNorrisTalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChuckNorrisTalk

What is it?

This project is a client for Chuck Norris Api written in Smalltalk (Cuis).

Running

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"

Morph for random facts.

There is a simple morph to show random facts. Execute:

ChuckNorrisMorph  open 

alt text

or via menu item:

alt text

Releases

No releases published

Packages

No packages published