Web API - Get Products from Vendor

;Usage
System.GetOperatorSetting("ingame_host").."/api/v1/vendor/VENDOR_ID/products.json"
;Examples:
<nowiki>
local INGAME_HOST = System.GetOperatorSetting("ingame_host");
local PATH = "/api/v1/vendor/11/products.json"
local url = INGAME_HOST .. PATH
HTTP.IssueRequest(url, "GET", nil, callbackfunction);
--[[
{
 "products" : [
 {
 "rarity" : "common",
 "item_id" : "488131",
 "prices" : [
 {
 "amount" : 500,
 "currency_remote_id" : 10
 }
 ],
 "quantity" : 1,
 "name" : "Stock Personal Thumper",
 "vendor_id" : 11,
 "icon" : "CD_THM_5",
 "item_sdb_id" : 75117
 },
 {
 "rarity" : "common",
 "item_id" : "488231",
 "prices" : [
 {
 "amount" : 1250,
 "currency_remote_id" : 10
 }
 ],
 "quantity" : 1,
 "name" : "Stock Squad Thumper",
 "vendor_id" : 11,
 "icon" : "CD_THM_5",
 "item_sdb_id" : 30636
 }
 ],
 "title" : "T1 Quartermaster",
 "logo" : "http://s3.amazonaws.com/production_vendor-images/vendors/logos/11_780716412.png"
}
--]]
</nowiki>
Category:Web_API