I found this and thought it was great.
It shows how to use api's without making declarations.
Click here! and follow the instructions in the module.