Exemplo n.º 1
0
 public static Uri QuotesLatestUri(string[] convert)
 {
     return(QueryStringService.CreateUrl($"{GlobalMetricApiPath}/quotes/latest", new Dictionary <string, object>
     {
         { "convert", string.Join(",", convert) }
     }));
 }
Exemplo n.º 2
0
 public static Uri InfoUri(string id, string slug)
 {
     return(QueryStringService.CreateUrl($"{ExchangeApiPath}/info", new Dictionary <string, object>
     {
         { "id", id },
         { "slug", slug }
     }));
 }
Exemplo n.º 3
0
 public static Uri MetadataUri(string[] id, string[] symbol)
 {
     return(QueryStringService.CreateUrl($"{CryptoCurrencyPath}/info", new Dictionary <string, object>
     {
         { "id", string.Join(",", id) },
         { "symbol", string.Join(",", symbol) }
     }));
 }
Exemplo n.º 4
0
 public static Uri QuotesLatest(string id, string slug, string[] convert)
 {
     return(QueryStringService.CreateUrl($"{ExchangeApiPath}/quotes/latest", new Dictionary <string, object>
     {
         { "id", id },
         { "slug", slug },
         { "convert", string.Join(",", convert) }
     }));
 }
Exemplo n.º 5
0
 public static Uri LatestQuotesUri(string[] id, string[] symbol, string[] convert)
 {
     return(QueryStringService.CreateUrl($"{CryptoCurrencyPath}/quotes/latest", new Dictionary <string, object>
     {
         { "id", string.Join(",", id) },
         { "symbol", string.Join(",", symbol) },
         { "convert", string.Join(",", convert) }
     }));
 }
Exemplo n.º 6
0
 public static Uri MapUri(string listingStatus, string slug, int?start, int?limit)
 {
     return(QueryStringService.CreateUrl($"{ExchangeApiPath}/map", new Dictionary <string, object>
     {
         { "listing_status", listingStatus },
         { "slug", slug },
         { "start", start },
         { "limit", limit }
     }));
 }
Exemplo n.º 7
0
 public static Uri IdMapUri(string listingStatus, int?start, int?limit, string[] symbol)
 {
     return(QueryStringService.CreateUrl($"{CryptoCurrencyPath}/map", new Dictionary <string, object>
     {
         { "listing_status", listingStatus },
         { "start", start },
         { "limit", limit },
         { "symbol", string.Join(",", symbol) }
     }));
 }
Exemplo n.º 8
0
 public static Uri MarketPairsLatest(string id, string slug, int?start, int?limit, string[] convert)
 {
     return(QueryStringService.CreateUrl($"{ExchangeApiPath}/market-pairs/latest", new Dictionary <string, object>
     {
         { "id", id },
         { "slug", slug },
         { "start", start },
         { "limit", limit },
         { "convert", string.Join(",", convert) }
     }));
 }
Exemplo n.º 9
0
 public static Uri InfoUri(float amount, string id, string symbol,
                           string time, string[] convert)
 {
     return(QueryStringService.CreateUrl($"{ToolsApiPath}/price-conversion", new Dictionary <string, object>
     {
         { "amount", amount },
         { "id", id },
         { "symbol", symbol },
         { "time", time },
         { "convert", string.Join(",", convert) }
     }));
 }
Exemplo n.º 10
0
 public static Uri LastestMarketPairsUri(string id, string symbol, int?start, int?limit, string[] convert)
 {
     return(QueryStringService.CreateUrl($"{CryptoCurrencyPath}/market-pairs/latest"
                                         , new Dictionary <string, object>
     {
         { "id", id },
         { "symbol", symbol },
         { "start", start },
         { "limit", limit },
         { "convert", string.Join(",", convert) }
     }));
 }
Exemplo n.º 11
0
 public static Uri ListingsLatest(int?start, int?limit, string sortField, string sortDir, string marketType,
                                  string[] convert)
 {
     return(QueryStringService.CreateUrl($"{ExchangeApiPath}/listings/latest", new Dictionary <string, object>
     {
         { "start", start },
         { "limit", limit },
         { "sort", sortField },
         { "sort_dir", sortDir },
         { "market_type", marketType },
         { "convert", string.Join(",", convert) }
     }));
 }
Exemplo n.º 12
0
 public static Uri QuotesHistoricalUri(string timeStart, string timeEnd, int?count, string interval,
                                       string[] convert)
 {
     return(QueryStringService.CreateUrl($"{GlobalMetricApiPath}/quotes/historical",
                                         new Dictionary <string, object>
     {
         { "time_start", timeStart },
         { "time_end", timeEnd },
         { "count", count },
         { "interval", interval },
         { "convert", string.Join(",", convert) }
     }));
 }
Exemplo n.º 13
0
 public static Uri ListingsHistorical(string timeStamp, int start, int limit, string sortField, string sortDir,
                                      string marketType, string[] convert)
 {
     return(QueryStringService.CreateUrl($"{ExchangeApiPath}/listings/historical", new Dictionary <string, object>
     {
         { "timestamp", timeStamp },
         { "start", start },
         { "limit", limit },
         { "sort", sortField },
         { "sort_dir", sortDir },
         { "market_type", marketType },
         { "convert", string.Join(",", convert) }
     }));
 }
Exemplo n.º 14
0
 public static Uri ListingLatestUri(int?start, int?limit, string[] convert, string sort, string sortDir,
                                    string cryptocurrencyType)
 {
     return(QueryStringService.CreateUrl($"{CryptoCurrencyPath}/listings/latest"
                                         , new Dictionary <string, object>
     {
         { "start", start },
         { "limit", limit },
         { "convert", string.Join(",", convert) },
         { "sort", sort },
         { "sort_dir", sortDir },
         { "cryptocurrency_type", cryptocurrencyType }
     }));
 }
Exemplo n.º 15
0
 public static Uri HistoricalQuotesUri(string id, string symbol, string timeStart, string timeEnd, int?count,
                                       string interval, string[] convert)
 {
     return(QueryStringService.CreateUrl($"{CryptoCurrencyPath}/quotes/historical",
                                         new Dictionary <string, object>
     {
         { "id", id },
         { "symbol", symbol },
         { "time_start", timeStart },
         { "time_end", timeEnd },
         { "count", count },
         { "interval", interval },
         { "convert", string.Join(",", convert) }
     }));
 }