Skip to content

Instantly share code, notes, and snippets.

@s3u
Created February 20, 2012 04:08
Show Gist options
  • Save s3u/1867782 to your computer and use it in GitHub Desktop.
Save s3u/1867782 to your computer and use it in GitHub Desktop.
Example (ql.io)
ids = select itemId from ebay.finding.itemsbykeywords where keywords = '{q}' limit 5;
items = select ItemID, Location, GalleryURL from ebay.shopping.singleitem
where itemId = '{ids}';
bestOffers = select GetBestOffersResponse.BestOfferArray from ebay.trading.bestoffers
where itemId = '{ids}';
bidders = select GetAllBiddersResponse.BidArray from ebay.trading.getallbidders
where itemId = '{ids}';
return {
"user" : "{user}",
"item" : "{items}",
"bidders" : "{bidders}",
"bestOffers" : "{bestOffers}"
} via route '/itemDetails/{q}' using method get;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment