Comment

Comment by llimllib

~13 years ago (!) I worked with the Amazon Seller API and left this comment in my own source code:

    // the XML returned from this request is *mind-bogglingly* bad. Terrifyingly bad.
    // a completed batch looks like this:
    // <Batch>batchid=363777811 status=Done dateandtime=09/18/2007 09:53:10 PDT activateditems=335 numberofwarnings=0 itemsnotacivated=17 </Batch>
    // and an incomplete batch like:
    // <Batch>batchid=363778361 status=In Progress </Batch>
    // so we'll just parse each item as a regex. Thanks Amazon.
The documentation at the time was just a post on a forum, that later got removed, so it no longer exists at all but this was just one of many horrors.
parent llimllib 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton