File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,10 @@ int YoutubeApi::sendGetToYoutube(const char *command) {
70
70
return statusCode;
71
71
}
72
72
73
+ int YoutubeApi::sendGetToYoutube (const String& command) {
74
+ return sendGetToYoutube (command.c_str ());
75
+ }
76
+
73
77
bool YoutubeApi::getChannelStatistics (const char *channelId) {
74
78
char command[150 ] = YTAPI_CHANNEL_ENDPOINT;
75
79
char params[120 ];
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ class YoutubeApi
51
51
YoutubeApi (const char *key, Client &client);
52
52
YoutubeApi (const String& apiKey, Client& client);
53
53
int sendGetToYoutube (const char *command);
54
+ int sendGetToYoutube (const String& command);
54
55
bool getChannelStatistics (const char *channelId);
55
56
bool getChannelStatistics (const String& channelId);
56
57
channelStatistics channelStats;
You can’t perform that action at this time.
0 commit comments