bity 0.2.2 bity: ^0.2.2 copied to clipboard
Minimalistic library for communicating with the Bity API v2.
Bity library #
A library for communicating with the Bity API. Some calls are missing.
Examples #
Get an estimate #
var client = Client('https://bity.com/');
print(await client.estimate(inputCurrency: "BTC", inputAmount: 1, outputCurrency: "CHF"));
client.close();
Create a crypto to fiat order #
var client = Client('https://bity.com/');
print(await client.createCryptoToFiatOrder(inputCurrency: "ETH", outputCurrency: "CHF", outputAmount: 1000, outputIban: "some iban"));
client.close();
Installing #
Add it to your pubspec.yaml
:
dependencies:
bity: any
Licence overview #
All files in this repository fall under the license specified in COPYING. The project is licensed as AGPL with a lesser clause. It may be used within a proprietary project, but the core library and any changes to it must be published online. Source code for this library must always remain free for everybody to access.