API for GREET and examples of use