Digitally imported api implementation in python.