summaryrefslogtreecommitdiff
path: root/src/api/twitch/helix_client.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-03 22:53:55 +0500
committerilotterytea <iltsu@alright.party>2024-05-03 22:53:55 +0500
commitd5a08922b8f22e4494fca0e28252f4b769649d64 (patch)
tree71fef5066c436d7ba18735b227ca4600b226d10f /src/api/twitch/helix_client.hpp
parent9bb97ad75e32d50a682571fa36bafa79f1e2d014 (diff)
feat: get_streams method
Diffstat (limited to 'src/api/twitch/helix_client.hpp')
-rw-r--r--src/api/twitch/helix_client.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/twitch/helix_client.hpp b/src/api/twitch/helix_client.hpp
index 2b5f4ea..27a9fa3 100644
--- a/src/api/twitch/helix_client.hpp
+++ b/src/api/twitch/helix_client.hpp
@@ -3,6 +3,7 @@
#include <string>
#include <vector>
+#include "schemas/stream.hpp"
#include "schemas/user.hpp"
namespace bot::api::twitch {
@@ -18,6 +19,9 @@ namespace bot::api::twitch {
std::vector<schemas::User> get_chatters(const int &broadcaster_id,
const int &moderator_id) const;
+ std::vector<schemas::Stream> get_streams(
+ const std::vector<int> &ids) const;
+
private:
std::vector<schemas::User> get_users_by_query(
const std::string &query) const;