adding python script to interact with the api