XcelDataAPI:Home

From XcelData Wiki
Revision as of 19:10, 12 April 2018 by Charliej (talk | contribs) (Created page with "{{InDev}} =URL Structure= <nowiki>https://api.xceldata.com/0.1/metal-feed/[output-format]/[unit-type]/[loan-percent]/[buy-percent]/[sell-percent]/[apikey]</nowiki> ==URL Va...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 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