How to use the Euphoria API