Skip to content

Nix1983/FixedFloatApi.NetCore

Repository files navigation

GitHub Workflow Status GitHub Nuget

FixedFloatApi.NetCore

.Net Core library for accessing the FixedFloat Api for C#/NET.

Installation

Use the nuget package manager to install

Install-Package FixedFloatApi -Version 1.0.0

Usage

For this API you need a API KEY

To see how this library is used, I recommend the Unittest Project. Every function is used.

All functions can also called async

//get a client
 var auth = new Authentication("Your Key", "Your Secret");
 var client = FixedFloatClient.Instance(auth);

//get available currencies
var cur = client.GetCurrencies();

//get pair
var pair = new PairRequest("btc", "eth", 0.5);
var result = client.GetPair(pair);

//get price
var price = new PriceRequest("btc", "eth", "0.3", ExchangeType.Fixed, 0);
var result = client.GetPrice(price));

//create order
 var order = new CreateOrderRequest("btc", "eth", "0.3", "0x6E2876b9d7aa6b877d77643D962F0c3237Bf023f", ExchangeType.Fixed);
 var result = client.CreateOrder(order);
 
//get order status
var order = new GetOrderRequest("Your Valid Id", "Your Valid token"); // you get id and token from CreateOrder response
var result = client.GetOrder(order);
 

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Buy me new socks

[BTC] 31hA6mRWcGihPhiuChqerESdazQJgbbjeb
[ETH] 0x6E2876b9d7aa6b877d77643D962F0c3237Bf023f
[LTC] MNFzK7SAXiRTzvQwjynsAioKectM42jev6
[GRS] grs1qaspw4a89arun2vw2tceur8f542ceyw6wjn35nr
[Doge] D9V1LUdQV8EakUjfHH9rAzFzLeNGWoqTXr
[Dash] XfQtuiiLsiDnGFwKgLWXKJFtBh9EGMfKWH

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages