rest api python get request