From 08a14192d0052f47e658db2e8a0834faed28ccd3 Mon Sep 17 00:00:00 2001 From: Dread <42398281+D7EAD@users.noreply.github.com> Date: Fri, 10 Dec 2021 00:03:25 -0500 Subject: [PATCH] Deprecate [Events] API Methods --- src/include/events.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/events.h b/src/include/events.h index 02ea29a..40741b6 100644 --- a/src/include/events.h +++ b/src/include/events.h @@ -13,6 +13,7 @@ namespace gecko { // getEvents() // getEvents("CN", "Meetup") // Notes: parameters from and to_date are in format yyyy-mm-dd + [[deprecated("Method deprecated by CoinGecko team; will be removed in the future.")]] DllExport gecko::web::response getEvents( OPTIONAL std::string country_code = "US", OPTIONAL std::string type = "Conference", @@ -28,6 +29,7 @@ namespace gecko { // Example(s): // getEventCountries() // Notes: none + [[deprecated("Method deprecated by CoinGecko team; will be removed in the future.")]] DllExport gecko::web::response getEventCountries(); // Action: fetches list of event types @@ -36,6 +38,7 @@ namespace gecko { // Example(s): // getEventTypes() // Notes: none + [[deprecated("Method deprecated by CoinGecko team; will be removed in the future.")]] DllExport gecko::web::response getEventTypes(); }; } \ No newline at end of file