BitFlyer.Apis 5.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BitFlyer.Apis --version 5.1.0
NuGet\Install-Package BitFlyer.Apis -Version 5.1.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="5.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BitFlyer.Apis --version 5.1.0
#r "nuget: BitFlyer.Apis, 5.1.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=5.1.0

// Install BitFlyer.Apis as a Cake Tool
#tool nuget:?package=BitFlyer.Apis&version=5.1.0

HTTP Public API

class Program
{
    static void Main(string[] args)
    {
        Ticker ticker = PublicApi.GetTicker(ProductCode.BtcJpy).Result;
        
        Console.WriteLine(ticker);
        Console.ReadKey();
    }
}

HTTP Private API

You can create API Key and API Secret here. https://lightning.bitflyer.jp/developer

class Program
{
    static void Main(string[] args)
    {
        var api = new PrivateApi("{Your API Key}", "{Your API Secret}");
        
        var result = api.SendChildOrder(new SendChildOrderParameter
        {
            ProductCode = ProductCode.FxBtcJpy,
            ChildOrderType = ChildOrderType.Limit,
            Side = Side.Buy,
            Price = 10000,
            Size = 0.01,
            MinuteToExpire = 10000,
            TimeInForce = TimeInForce.GoodTilCanceled
        }).Result;
        
        Console.WriteLine(result);
        Console.ReadKey();
    }
}

Realtime API

class Program
{
    static void Main(string[] args)
    {
        var api = new RealtimeApi();
        
        api.Subscribe<Ticker>(PubnubChannel.TickerFxBtcJpy, OnReceive, OnConnect, OnError);
        
        Console.ReadKey();
    }
    
    static void OnConnect(string message)
    {
        Console.WriteLine(message);
    }
    
    static void OnReceive(Ticker data)
    {
        Console.WriteLine(data);
    }
    
    static void OnError(string message, Exception ex)
    {
        Console.WriteLine(message);
        if (ex != null)
        {
            Console.WriteLine(ex);
        }
    }
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  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 133 9/29/2023
6.8.1 453 6/14/2022
6.6.0 447 3/22/2021
6.5.0 583 8/5/2020
6.4.0 3,508 3/8/2019
6.3.0 741 12/21/2018
6.2.0 645 12/21/2018
6.1.0 1,048 9/7/2018
6.0.0 945 7/23/2018
5.10.0 1,236 2/24/2018
5.9.1 1,056 2/9/2018
5.9.0 1,038 1/24/2018
5.8.0 1,178 1/23/2018
5.7.0 1,202 12/21/2017
5.6.0 1,262 12/15/2017
5.5.0 1,441 11/28/2017
5.4.0 1,009 11/21/2017
5.3.0 944 11/20/2017
5.2.0 964 11/2/2017
5.1.0 1,211 10/13/2017
5.0.0 980 8/15/2017
4.1.0 981 5/31/2017
4.0.0 924 4/14/2017
3.0.0 1,027 2/2/2017
2.1.1 974 1/30/2017
2.1.0 931 1/26/2017
2.0.2 1,000 1/19/2017
2.0.1 970 1/18/2017
2.0.0 926 1/18/2017
1.1.0 969 1/17/2017
1.0.2 988 1/17/2017
1.0.1 909 1/16/2017
1.0.0 946 1/16/2017

Support API for USA market.
Support Monacoin.