Created
February 20, 2012 04:08
-
-
Save s3u/1867782 to your computer and use it in GitHub Desktop.
Example (ql.io)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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