BitskinsApiV1 1.0.0
dotnet add package BitskinsApiV1 --version 1.0.0
NuGet\Install-Package BitskinsApiV1 -Version 1.0.0
<PackageReference Include="BitskinsApiV1" Version="1.0.0" />
paket add BitskinsApiV1 --version 1.0.0
#r "nuget: BitskinsApiV1, 1.0.0"
// Install BitskinsApiV1 as a Cake Addin #addin nuget:?package=BitskinsApiV1&version=1.0.0 // Install BitskinsApiV1 as a Cake Tool #tool nuget:?package=BitskinsApiV1&version=1.0.0
BitskinsApiV1
This project was created to interact with bitskins api using a simple .net client all code is supplied and most of it is running as of the first commit
Running the Project
Running the project is quite simple link the BitskinsAPIv1.dll to your project and add the following lines at the start of your code
//Set the Bitskins Api Key and The Secret For 2 Factor Authentication
BitskinsApiV1.Bitskins.Api_Key = "your own API Key you can get this at Bitskins.com";
BitskinsApiV1.Bitskins.SECRET_FROM_BITSKINS = "2 Factor Authentication Secret From Bitskins.com";
//we need to set the appid once for the api to function
//this can also be changed torugh out the application set it once as its a global var
BitskinsApiV1.Bitskins.AppID = BitskinsApiV1.Bitskins.AppID_Enum.CSGO;
Calling Functions From The Api
Since Bitskins returns JSON Files i have converted then to c# objects for easy use
2 Run A Function simply call it as the following
//This will return the Bitskins Wallet Object
BitskinsApiV1.Bitskins.WalletObject wallet = BitskinsApiV1.Bitskins.Get_Account_Balance();
//once recieved you should be able to get funds availabe by calling the objects value
lblAccountBalance.Text = "$" + wallet.data.available_balance;
2 Factor Authentication
Starting 2 Factor Authentication is reuired at the start of the project (on Form Load / WCF Startup)
To start 2 Factor Authentication simply call this method
BitskinsApiV1.Bitskins.FA();
To retrieve your 2 Factor Authentication Code ( 6 Diget Code )
Simply Call this function
txt2FA.Text = BitskinsApiV1.Bitskins.FACode;
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Albireo.Base32 (>= 1.0.1)
- Newtonsoft.Json (>= 10.0.3)
- OtpSharp (>= 1.3.0.4)
- System.Net.Http (>= 4.3.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 1,266 | 1/6/2018 |
First Initial Release on Nuget See Github For Proper Release information