add example of Triangle API in readme