mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-24 14:45:49 +00:00
Update Migration Guide.md
@@ -2,6 +2,7 @@ Changes from 4.x to 5.x:
|
|||||||
|
|
||||||
## Client structure
|
## Client structure
|
||||||
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()`.
|
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()`:
|
This has been unified to be `client.[Api]Api.[Topic].Method()`:
|
||||||
`bittrexClient.GetTickersAsync()` -> `bittrexClient.SpotApi.ExchangeData.GetTickersAsync()`
|
`bittrexClient.GetTickersAsync()` -> `bittrexClient.SpotApi.ExchangeData.GetTickersAsync()`
|
||||||
`kucoinClient.Spot.GetTickersAsync()` -> `kucoinClient.SpotApi.ExchangeData.GetTickersAsync()`
|
`kucoinClient.Spot.GetTickersAsync()` -> `kucoinClient.SpotApi.ExchangeData.GetTickersAsync()`
|
||||||
|
|||||||
Reference in New Issue
Block a user