You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
360 B
15 lines
360 B
|
|
// export class ApiDataManager{
|
|
|
|
|
|
// public async getCards() : Promise<String[]> {
|
|
|
|
|
|
// const CardPromise = await fetch('https://omgvamp-hearthstone-v1.p.rapidapi.com/cards')
|
|
|
|
// const CardListJson = await CardPromise.json();
|
|
// const CardList: String[] = Array.of(CardListJson);
|
|
// return CardList;
|
|
// }
|
|
// }
|