Python script that uses Hotwire API to find optimal period of hotel stay