GET and POST methods to call APIs in Apicultur with python