mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-11 16:32:57 +00:00
Update Migration Guide.md
+2
-1
@@ -1,7 +1,8 @@
|
||||
Changes from 4.x to 5.x:
|
||||
|
||||
## Client structure
|
||||
The client structure has been changed to make clients more consistent across different implementations. Where before clients could either have `client.Method()`, `client.[Api].Method()` or `client.[Api].[Topic].Method()`. This has been unified to be `client.[Api]Api.[Topic].Method()`:
|
||||
The client structure has been changed to make clients more consistent across different implementations. Clients using V4 could either had `client.Method()`, `client.[Api].Method()` or `client.[Api].[Topic].Method()`.
|
||||
This has been unified to be `client.[Api]Api.[Topic].Method()`:
|
||||
`bittrexClient.GetTickersAsync()` -> `bittrexClient.SpotApi.ExchangeData.GetTickersAsync()`
|
||||
`kucoinClient.Spot.GetTickersAsync()` -> `kucoinClient.SpotApi.ExchangeData.GetTickersAsync()`
|
||||
`binanceClient.Spot.Market.GetTickersAsync()` -> `binanceClient.SpotApi.ExchangeData.GetTickersAsync()`
|
||||
|
||||
Reference in New Issue
Block a user