klotz: ebay* + orchestration*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. 2014-12-12 Tags: , , by klotz
  2. To call three HTTP APIs, write this script
    Try me
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    prodid = select ProductID 0 » .Value from eBay.FindProducts where
    QueryKeywords = 'macbook pro';
    details = select * from eBay.ProductDetails where
    ProductID in ('{prodid}') and ProductType = 'Reference';
    reviews = select * from eBay.ProductReviews where
    ProductID in ('{prodid}') and ProductType = 'Reference';

    return select d.ProductID 0 » .Value as id, d.Title as title,
    d.ReviewCount as reviewCount, r.ReviewDetails.AverageRating as rating
    from details as d, reviews as r
    where d.ProductID 0 » .Value = r.ProductID.Value
    via route '/myapi' using method get;
    and curl away
    1
    curl http://<host>:<port>/myapi
    2014-12-12 Tags: , , by klotz
  3. 2014-12-12 Tags: , , by klotz
  4. 2014-12-11 Tags: , , , , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: ebay + orchestration

About - Propulsed by SemanticScuttle