mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-15 10:22:57 +00:00
Update Migration Guide.md
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
Changes from 4.x to 5.x:
|
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 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()`
|
||||||
|
|||||||
Reference in New Issue
Block a user