example connetion with Cal API w python, see sample.py