Difference between revisions of "XcelDataAPI:Metal Feed"
(→api-key) |
(→api-key) |
||
| Line 24: | Line 24: | ||
''string: a valid store api key'' | ''string: a valid store api key'' | ||
| − | Store API keys can be obtained from [https://app.xceldata.com/ app.xceldata.com] | + | Store API keys can be obtained from [https://app.xceldata.com/customers app.xceldata.com/customers] |
==Example of good feeds (using dev store api key)== | ==Example of good feeds (using dev store api key)== | ||
Revision as of 21:44, 12 April 2018
This article documents features that are still in development.
Information may change rapidly as the event progresses, or if requirements change. The last updates to this article may not reflect the most current information.
Contents
URL Structure
https://api.xceldata.com/0.1/metal-feed/[output-format]/[unit-type]/[loan-percent]/[buy-percent]/[sell-percent]/[apikey]
URL Variable Breakdown
output-format
string: xml or json
Specifies XML or JSON output.
unit-type
string: dwt or gr
Specifies Pennyweight or Grams
loan-percent, buy-percent and sell-percent
integer or decimal: range between 0 and 100
Specifies the adjustments that will be shown to tellers.
api-key
string: a valid store api key
Store API keys can be obtained from app.xceldata.com/customers
Example of good feeds (using dev store api key)
https://api.xceldata.com/0.1/metal-feed/xml/dwt/60/80/150/1E17162A-8355-4FF2-8DCD-E5CEE676FD93
https://api.xceldata.com/0.1/metal-feed/xml/gr/60/80/150/1E17162A-8355-4FF2-8DCD-E5CEE676FD93
https://api.xceldata.com/0.1/metal-feed/json/dwt/60/80/150/1E17162A-8355-4FF2-8DCD-E5CEE676FD93
https://api.xceldata.com/0.1/metal-feed/json/gr/60/80/150/1E17162A-8355-4FF2-8DCD-E5CEE676FD93