示例#1
0
 /// <summary>
 /// Returns a List object of all Sets on Scryfall.
 /// </summary>
 /// <returns></returns>
 public Task <ResultList <Set> > Get() => _restService.GetAsync <ResultList <Set> >("/sets");
示例#2
0
 public Task <ResultList <Card> > Get(int page) => _restService.GetAsync <ResultList <Card> >($"/cards?page={page}");
示例#3
0
 public async Task <string[]> ListCardNames() => (await _restService.GetAsync <Catalog>("/catalog/card-names").ConfigureAwait(false)).Data;
示例#4
0
 /// <summary>
 /// Retrieve all card symbols
 /// </summary>
 /// <returns></returns>
 public Task <ResultList <Symbol> > Get() => _restService.GetAsync <ResultList <Symbol> >("/symbology");