Skip to content

Instantly share code, notes, and snippets.

@still-dreaming-1
still-dreaming-1 / LiveCoinWatchCoinsList.cs
Last active May 2, 2022 15:11
Live Coin Watch API coins/list example
// Live Coin Watch sample code migrated to be compatible with RestSharp v107
var client = new RestClient(
new RestClientOptions("https://api.livecoinwatch.com/coins/list") {
Timeout = -1
}
);
var request = new RestRequest()
.AddHeader("x-api-key", "your API key here")
.AddJsonBody(new {
currency = "USD",