├── README.md └── United-In-Flight-Api.postman_collection.json /README.md: -------------------------------------------------------------------------------- 1 | # United-In-Flight-Api 2 | Postman collection for United's internal in-flight wifi api 3 | 4 | # Disclaimer 5 | The author is not responsible for the usage of these apis, please use responsibly. 6 | -------------------------------------------------------------------------------- /United-In-Flight-Api.postman_collection.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "_postman_id": "467f2b44-06f5-40b9-a737-4bcda42970f0", 4 | "name": "United-In-Flight-Api", 5 | "description": "Documentation for the united in flight api", 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 7 | }, 8 | "item": [ 9 | { 10 | "name": "Get all session data", 11 | "request": { 12 | "method": "GET", 13 | "header": [], 14 | "url": { 15 | "raw": "https://www.unitedwifi.com/portal/r/getAllSessionData", 16 | "protocol": "https", 17 | "host": [ 18 | "www", 19 | "unitedwifi", 20 | "com" 21 | ], 22 | "path": [ 23 | "portal", 24 | "r", 25 | "getAllSessionData" 26 | ] 27 | }, 28 | "description": "This request returns a lot of interesting information including:\n\n1. Wifi portal subscription information\n2. Paid wifi subscription status\n3. Flight info including speed, tempature, altitude, origin, and destination\n4.Destination weather including current weather and weather forecast for the next few days" 29 | }, 30 | "response": [] 31 | }, 32 | { 33 | "name": "Flight Data", 34 | "request": { 35 | "method": "GET", 36 | "header": [], 37 | "url": { 38 | "raw": "https://services.inflightpanasonic.aero/inflight/services/flightdata/v1/flightdata", 39 | "protocol": "https", 40 | "host": [ 41 | "services", 42 | "inflightpanasonic", 43 | "aero" 44 | ], 45 | "path": [ 46 | "inflight", 47 | "services", 48 | "flightdata", 49 | "v1", 50 | "flightdata" 51 | ] 52 | }, 53 | "description": "Returns various in-flight data including some cool stuff such as:\n\n1. Whether all of the doors are closed\n2. State of the pa system - in use or inactive\n3. If there is weight on the wheels\n\nand much much more.\n\nIt also contains the planes current latitude and longitude which although are in a wierd format, should be able to be used to generate zmanim." 54 | }, 55 | "response": [] 56 | }, 57 | { 58 | "name": "Capture device", 59 | "request": { 60 | "method": "GET", 61 | "header": [], 62 | "url": { 63 | "raw": "https://www.unitedwifi.com/portal/r/captureDevice", 64 | "protocol": "https", 65 | "host": [ 66 | "www", 67 | "unitedwifi", 68 | "com" 69 | ], 70 | "path": [ 71 | "portal", 72 | "r", 73 | "captureDevice" 74 | ] 75 | }, 76 | "description": "Not sure what this does, but apperently it has to do with creating the device fingerprint for the session data.\n\nProbably just a user-agent sniffer with no return data." 77 | }, 78 | "response": [] 79 | }, 80 | { 81 | "name": "Get Media Catalog", 82 | "request": { 83 | "method": "GET", 84 | "header": [], 85 | "url": { 86 | "raw": "https://www.unitedwifi.com/portal/r/getPDESupercatFlat?fstsubcat=1&pgnum=1&pgsize=30", 87 | "protocol": "https", 88 | "host": [ 89 | "www", 90 | "unitedwifi", 91 | "com" 92 | ], 93 | "path": [ 94 | "portal", 95 | "r", 96 | "getPDESupercatFlat" 97 | ], 98 | "query": [ 99 | { 100 | "key": "fstsubcat", 101 | "value": "1" 102 | }, 103 | { 104 | "key": "pgnum", 105 | "value": "1" 106 | }, 107 | { 108 | "key": "pgsize", 109 | "value": "30" 110 | } 111 | ] 112 | }, 113 | "description": "This request returns all movies and tv shows in united's media catalog.\n\nThis includes metadata" 114 | }, 115 | "response": [] 116 | }, 117 | { 118 | "name": "Get Media Item Info", 119 | "request": { 120 | "method": "GET", 121 | "header": [], 122 | "url": { 123 | "raw": "" 124 | }, 125 | "description": "Return more information on a media item by passing in the id of the media item" 126 | }, 127 | "response": [] 128 | }, 129 | { 130 | "name": "Get in-flight map", 131 | "request": { 132 | "method": "GET", 133 | "header": [], 134 | "url": { 135 | "raw": "http://www.unitedwifi.com/portal/images/map/TabletLandscape.png?", 136 | "protocol": "http", 137 | "host": [ 138 | "www", 139 | "unitedwifi", 140 | "com" 141 | ], 142 | "path": [ 143 | "portal", 144 | "images", 145 | "map", 146 | "TabletLandscape.png" 147 | ] 148 | }, 149 | "description": "returns a current image of the in-flight map" 150 | }, 151 | "response": [] 152 | }, 153 | { 154 | "name": "Status", 155 | "request": { 156 | "method": "GET", 157 | "header": [], 158 | "url": { 159 | "raw": "http://services.inflightpanasonic.aero/inflight/services/exconnect/v1/status", 160 | "protocol": "http", 161 | "host": [ 162 | "services", 163 | "inflightpanasonic", 164 | "aero" 165 | ], 166 | "path": [ 167 | "inflight", 168 | "services", 169 | "exconnect", 170 | "v1", 171 | "status" 172 | ] 173 | }, 174 | "description": "Returns the status of external connectivity options" 175 | }, 176 | "response": [] 177 | }, 178 | { 179 | "name": "Get live text news headlines", 180 | "request": { 181 | "method": "GET", 182 | "header": [], 183 | "url": { 184 | "raw": "http://services.inflightpanasonic.aero/inflight/services/livetextnews/v1/categories?provider_id=1", 185 | "protocol": "http", 186 | "host": [ 187 | "services", 188 | "inflightpanasonic", 189 | "aero" 190 | ], 191 | "path": [ 192 | "inflight", 193 | "services", 194 | "livetextnews", 195 | "v1", 196 | "categories" 197 | ], 198 | "query": [ 199 | { 200 | "key": "provider_id", 201 | "value": "1" 202 | } 203 | ] 204 | }, 205 | "description": "Gets live text news headlines" 206 | }, 207 | "response": [] 208 | }, 209 | { 210 | "name": "Get live text news article", 211 | "request": { 212 | "method": "GET", 213 | "header": [], 214 | "url": { 215 | "raw": "http://services.inflightpanasonic.aero/inflight/services/livetextnews/v1/article?id=339929", 216 | "protocol": "http", 217 | "host": [ 218 | "services", 219 | "inflightpanasonic", 220 | "aero" 221 | ], 222 | "path": [ 223 | "inflight", 224 | "services", 225 | "livetextnews", 226 | "v1", 227 | "article" 228 | ], 229 | "query": [ 230 | { 231 | "key": "id", 232 | "value": "339929" 233 | } 234 | ] 235 | }, 236 | "description": "Gets the actual article body for a headline by passing in the articles id" 237 | }, 238 | "response": [] 239 | }, 240 | { 241 | "name": "Get weather", 242 | "request": { 243 | "method": "GET", 244 | "header": [], 245 | "url": { 246 | "raw": "http://services.inflightpanasonic.aero/inflight/services/livetextnews/v1/forecast_weather?icao_code=KJFK&days=3", 247 | "protocol": "http", 248 | "host": [ 249 | "services", 250 | "inflightpanasonic", 251 | "aero" 252 | ], 253 | "path": [ 254 | "inflight", 255 | "services", 256 | "livetextnews", 257 | "v1", 258 | "forecast_weather" 259 | ], 260 | "query": [ 261 | { 262 | "key": "icao_code", 263 | "value": "KJFK" 264 | }, 265 | { 266 | "key": "days", 267 | "value": "3" 268 | } 269 | ] 270 | }, 271 | "description": "Gets weather, requires location codes from the Flight Data request" 272 | }, 273 | "response": [] 274 | } 275 | ], 276 | "protocolProfileBehavior": {} 277 | } --------------------------------------------------------------------------------