News for hackers. Stuff that matters.
Re:Stripe CLI by smoussa on Tuesday November 05, 2019 @05:41PM (#21457550)
Add eBay to the second list. We are still uploading XML documents.
Re:Stripe CLI by pbreit on Tuesday November 05, 2019 @07:55PM (#21458676)
Ebay does have a "RESTful" API: https://developer.ebay.com/api-docs/static/ebay-rest-landing...

Definitely agree that the old SOAP API was/is horrific. But the XML is about as easy to work with as JSON/REST.

Re:Stripe CLI by realusername on Wednesday November 06, 2019 @12:49AM (#21460033)
I second that, eBay API is hot garbage and their staging is years out of date.
Re:Stripe CLI by hobofan on Tuesday November 05, 2019 @05:58PM (#21457700)
And Amazon sellers API (Amazon MWS). Rarely seen such an inconsistent mess of often poorly documented SOAP-ish calls, that so many external partners base their livelyhood on.
Re:Stripe CLI by etaioinshrdlu on Tuesday November 05, 2019 @07:14PM (#21458416)
Some APIs you can choose to use. Other APIs you have to use. The ones you have to use tend to not care much about the developer experience... Because why should they? No one's going to avoid Amazon because their API was annoying. People need to make money.

This actually explains a lot of other things. Like the DMV.

Re:Stripe CLI by Mikhail_Edoshin on Wednesday November 06, 2019 @07:05AM (#21461683)
The API is not not SOAPish, it just uses XML. They probably choose it so that they can use XML Schema to check incoming data (which is exactly the right decision here).
Re:Stripe CLI by jdnenej on Tuesday November 05, 2019 @07:22PM (#21458476)
eBay is an absolute nightmare. They have a demo instance to test on and it's about 4 years out of date and half of it doesn't work anymore.
Re:Stripe CLI by smitop on Tuesday November 05, 2019 @08:06PM (#21458748)
For those interested, the demo instance is at https://sandbox.ebay.com/ The message at the top says "eBay and PayPal will be separate companies soon", even though they became seperate companies 4 years ago.
Re:Stripe CLI by exikyut on Thursday November 07, 2019 @09:02AM (#21473224)
Wow, this is awesome.

Mousing over the links there to see where they go, the first interesting-looking one was the supported/unsupported features list, over at https://ebaydts.com/eBayKBDetails?KBid=684. Ah, I see - a wall of text reminscent of "system requirements", except it's a list of things you don't get instead.

But then going up to https://ebaydts.com, I met with... a blank page. But it has a title, so something's blown up. I hit F12 half expecting to be met with some kind of implosion, and even then I was cynically amused: the page has `<body style="display:none;>`, with no closing quote, and while Chrome parses it properly the devtools don't, so the CSS editor leaks bits of HTML.

On the one hand my infosec-sense says there's probably some awesome stuff hiding in here... but on the other hand, between the 1000 feet of bureaucracy I'd have to all but drown to report _anything_ I found, and the tenterhooks I'd be on while poking around establishing there's anything there beyond plausible deniability... not worth it?

Re:Stripe CLI by ironman77 on Wednesday November 06, 2019 @11:48AM (#21464292)
Okay, it's not just me (demo instance). Ebay's APIs and their SDK documentation (or lack thereof) are making me re-think my app's monetization model. Docs are shockingly bad, full of screenshots that look like ebay from the early 2000s.
Re:Stripe CLI by jdnenej on Wednesday November 06, 2019 @04:21PM (#21467473)
I was working with it 3 years ago and it sounds like it hasn't gotten any better in that time.
Re:Stripe CLI by wrboyce on Tuesday November 05, 2019 @08:50PM (#21458964)
I submitted a SAR to eBay and they responded by posting me a copy of my data on a USB stick!
Re:Stripe CLI by unilynx on Wednesday November 06, 2019 @01:20AM (#21460165)
Did you image it to check for deleted data in unallocated space?