3 ms·
Require companies that sell online to offer an open API so it's easy to aggregate? Sounds nuts, but not that different from open banking (PSD2) in the EU.
by nmca 8y ago
Require companies that sell online to offer an open API so it's easy to aggregate? Sounds nuts, but not that different from open banking (PSD2) in the EU.
- cortesoft 8y agoOk... what information is required in the API? You can't possibly describe every possible differentiating characteristic of a product in an API... even for a specific case like airlines, there are countless differences. Plane type, baggage limits, weight limits on bags, leg room, in flight entertainment, Internet, food, drinks, etc. you want the law spelling out what needs to be included? What about other industries? New ones that are being created? What happens when new features are added that aren't in the api spec? Internet wasn't a thing on airplanes 10 years ago, so it wouldn't have made it in the spec, but now internet access is a huge differentiator for flights.
- gmueckl 8y agoThis is actually an easy problem to solve: define a list of extras in the standard including fees. The structure for each extra can be pretty rigid. Something like e.g. short-name: Tray fee long-name: You get a foldable tray for seat to use during the flight. price: 39,99 includes-tax: false This is basic data modeling, really. Tne real thing would probably have closer to 50 well defined fields instead of 4 because of real-world self-inflicted complexity in the system, but the concept is the same.