Examples
========

Building endpoints is relatively easy and requires a minimum of code. If you
create a new file, make sure you import all the required dependencies. Any
questions? Ask `Michael`_

.. _Michael: mortali@theorchard.com

.. code:: python

    from grass import api

    @api.route('/endpoint/', access=[access.allow_client()], methods=['GET'])
    def get_endpoint():
        // do something
        return dict(), 200
