Skip to content

Commit

Permalink
Deprecate [Events] API Methods
Browse files Browse the repository at this point in the history
  • Loading branch information
D7EAD committed Dec 10, 2021
1 parent a97263e commit 08a1419
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/include/events.h
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
Expand All @@ -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();
};
}

0 comments on commit 08a1419

Please sign in to comment.