bchavez / Coinbase

:moneybag: A .NET/C# implementation of the Coinbase API.
https://developers.coinbase.com/api/v2
MIT License
170 stars 92 forks source link

Support for Expand #48

Open granthoff1107 opened 5 years ago

granthoff1107 commented 5 years ago

We should add support for Expand, which allows you to expanding the response data. This will help api's create less latency when making requests.

e.g Say you want to obtain all the Accounts with the addresses.

Currently the only way to do so would be to make Several requests First obtain the Accounts. => 10 Accounts. Then obtain the Addresses which would require 10 additional requests.

But Ideally we should support expand to for all entities. I have a suspicion that this will aid in obtaining user notification from the api, but I haven't tested yet.

This should go into consideration for v6.

-Grant

granthoff1107 commented 5 years ago

Sorry, but Accounts can't expand addresses. :/ I feel like that would be more important than other things but apparently they won't let you