diff options
Diffstat (limited to 'oop2eindopdr/PokemonTCGAPIClient.h')
-rw-r--r-- | oop2eindopdr/PokemonTCGAPIClient.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/oop2eindopdr/PokemonTCGAPIClient.h b/oop2eindopdr/PokemonTCGAPIClient.h index 241586b..c6b6a23 100644 --- a/oop2eindopdr/PokemonTCGAPIClient.h +++ b/oop2eindopdr/PokemonTCGAPIClient.h @@ -15,10 +15,12 @@ private: const char* API_URL = "https://api.pokemontcg.io/v2"; virtual nlohmann::json raw_request(const char* endpoint, cpr::Parameters params); virtual nlohmann::json raw_get_cards(const char* query); + virtual nlohmann::json raw_get_card(const char* id); virtual nlohmann::json raw_get_sets(const char* query); public: virtual std::vector<PokemonCard*> get_set_cards(const char* set_name); + virtual PokemonCard* get_full_card(const char* id); virtual std::vector<std::string> get_sets(); }; |