Difference between revisions of "XcelDataAPI:Metal Feed"

From XcelData Wiki
Jump to: navigation, search
(api-key)
(loan-percent, buy-percent and sell-percent)
Line 17: Line 17:
  
 
===loan-percent, buy-percent and sell-percent===
 
===loan-percent, buy-percent and sell-percent===
''integer or decimal: range between 0 and 100''
+
''integer or decimal: range between 0 and 200''
  
 
Specifies the adjustments that will be shown to tellers.
 
Specifies the adjustments that will be shown to tellers.

Revision as of 22:06, 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.


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 200

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