diff --git a/southwest/southwest.py b/southwest/southwest.py index 102bb05..f8f9f90 100644 --- a/southwest/southwest.py +++ b/southwest/southwest.py @@ -3,6 +3,9 @@ import requests import sys import uuid +BASE_URL = 'https://mobile.southwest.com/api/' +CHECKIN_INTERVAL_SECONDS = 0.25 +MAX_ATTEMPTS = 40 class Reservation(): @@ -26,11 +29,6 @@ class Reservation(): # Pulled from proxying the Southwest iOS App return {'Host': 'mobile.southwest.com', 'Content-Type': 'application/json', 'X-API-Key': API_KEY, 'X-User-Experience-Id': USER_EXPERIENCE_KEY, 'Accept': '*/*'} - - BASE_URL = 'https://mobile.southwest.com/api/' - CHECKIN_INTERVAL_SECONDS = 0.25 - MAX_ATTEMPTS = 40 - # You might ask yourself, "Why the hell does this exist?" # Basically, there sometimes appears a "hiccup" in Southwest where things # aren't exactly available 24-hours before, so we try a few times