this respo is for how to use rest api using python