Initialize api 3.0 python client code;