Difference between revisions of "XcelDataAPI:Metal Feed"
m (Charliej moved page XcelDataAPI/Metal Feed to XcelDataAPI:Metal Feed without leaving a redirect) |
|
(No difference)
| |
Revision as of 19:46, 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 bet obtained from app.xceldata.com
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