Do you have an API available?
Yes. There is no formal how-to documentation but a fairly basic test UI detailing calls.
API itself is self-described at
https://zapple.io/exchange/1/_md/indexTo call any authenticated call you need to first login by making a call to our authentication API:
PUT
https://lts-api.com/auth/1/Body:
{
"Username": "XXX",
"Password": "YYY",
"TwoFactorAuthenticationCode": null
}
If you have 2FA enabled replace null with your current 2FA code.
In your response will be something like this:
{
"JsonWebToken":"XXXXX",
... other fields
}
Capture the "JsonWebToken" value (XXXXX here) and then in authenticated calls pass it in as authorization header
BEARER XXXXX
Tokens have a validity once issued, you can call a renew endpoint or log back in upon expiry. You must renew prior to expiry.
What we don't have yet is a single API token that is long-life - so if you have 2FA you'll need to supply the 2FA code when you first start your application and then renew the token every 15 minutes or so. Dedicated API tokens with long-life are planned.
Cool. I assume this is in the long-term plan, but just in case, I do suggest making a way to use the API without sending one's password (or even having to have it stored); it's advantageous to be able to have the API have access to some functions, but the password gives you god mode access to your account. I like how Bittrex lets the account owner specify some limits on the power of individual API keys, for example.
(I'll wait - I was thinking of making a very simple market-maker bot to try to improve liquidity for RIC)