add first example for a python api