BitFlyer.Apis
6.9.0
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
dotnet add package BitFlyer.Apis --version 6.9.0
NuGet\Install-Package BitFlyer.Apis -Version 6.9.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BitFlyer.Apis" Version="6.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BitFlyer.Apis --version 6.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BitFlyer.Apis, 6.9.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BitFlyer.Apis as a Cake Addin #addin nuget:?package=BitFlyer.Apis&version=6.9.0 // Install BitFlyer.Apis as a Cake Tool #tool nuget:?package=BitFlyer.Apis&version=6.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
bitflyer-api-dotnet-client
bitFlyer APIs Client Library for .NET https://lightning.bitflyer.jp/docs
Install
- PM> Install-Package BitFlyer.Apis
Private API needs your API Key and Secret. If you use Private API, I recommend you to clone this repository and use it.
Quick Start
HTTP Public API
var ticker = await PublicApi.GetTicker(ProductCode.BtcJpy);
HTTP Private API
You can create API Key and API Secret here. https://lightning.bitflyer.jp/developer
var api = new PrivateApi("Your API Key", "Your API Secret");
var result = await api.SendChildOrder(new SendChildOrderParameter
{
ProductCode = ProductCode.FxBtcJpy,
ChildOrderType = ChildOrderType.Limit,
Side = Side.Buy,
Price = 10000,
Size = 0.01,
MinuteToExpire = 10000,
TimeInForce = TimeInForce.GoodTilCanceled
});
Realtime API
class Program
{
static async Task Main(string[] args)
{
var api = new RealtimeApi();
await api.Subscribe<Ticker>(RealtimeChannel.TickerFxBtcJpy, OnReceive, OnConnect, OnError);
Console.ReadKey();
}
static void OnConnect()
{
Console.WriteLine("connected.");
}
static void OnReceive(Ticker data)
{
Console.WriteLine(data);
}
static void OnError(string message, Exception ex)
{
Console.WriteLine(message);
if (ex != null)
{
Console.WriteLine(ex);
}
}
}
Realtime API (Private)
class Program
{
static async Task Main(string[] args)
{
var key = "Your API Key";
var secret = "Your API Secret";
var api = new RealtimeApi();
await api.Subscribe<ChildOrderEvents[]>("child_order_events", OnReceive, OnConnect, OnError, key, secret);
Console.ReadKey();
}
static void OnConnect()
{
Console.WriteLine("connected.");
}
static void OnReceive(ChildOrderEvents[] data)
{
Console.WriteLine(data[0]);
}
static void OnError(string message, Exception ex)
{
Console.WriteLine(message);
if (ex != null)
{
Console.WriteLine(ex);
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
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 |
---|---|---|
6.9.0 | 168 | 9/29/2023 |
6.8.1 | 483 | 6/14/2022 |
6.6.0 | 471 | 3/22/2021 |
6.5.0 | 609 | 8/5/2020 |
6.4.0 | 3,547 | 3/8/2019 |
6.3.0 | 768 | 12/21/2018 |
6.2.0 | 675 | 12/21/2018 |
6.1.0 | 1,082 | 9/7/2018 |
6.0.0 | 958 | 7/23/2018 |
5.10.0 | 1,250 | 2/24/2018 |
5.9.1 | 1,091 | 2/9/2018 |
5.9.0 | 1,067 | 1/24/2018 |
5.8.0 | 1,205 | 1/23/2018 |
5.7.0 | 1,236 | 12/21/2017 |
5.6.0 | 1,298 | 12/15/2017 |
5.5.0 | 1,471 | 11/28/2017 |
5.4.0 | 1,022 | 11/21/2017 |
5.3.0 | 971 | 11/20/2017 |
5.2.0 | 992 | 11/2/2017 |
5.1.0 | 1,265 | 10/13/2017 |
5.0.0 | 1,008 | 8/15/2017 |
4.1.0 | 1,013 | 5/31/2017 |
4.0.0 | 950 | 4/14/2017 |
3.0.0 | 1,053 | 2/2/2017 |
2.1.1 | 1,000 | 1/30/2017 |
2.1.0 | 956 | 1/26/2017 |
2.0.2 | 1,038 | 1/19/2017 |
2.0.1 | 998 | 1/18/2017 |
2.0.0 | 954 | 1/18/2017 |
1.1.0 | 998 | 1/17/2017 |
1.0.2 | 1,017 | 1/17/2017 |
1.0.1 | 933 | 1/16/2017 |
1.0.0 | 971 | 1/16/2017 |
Support net6.0, netstandard2.1
Add SHIB,PLT,FLR,MATIC,MKR,ZPG,SAND