mirror of
https://github.com/pyro2927/SouthwestCheckin.git
synced 2025-12-06 01:13:19 +00:00
modified: southwest.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user