From b9102d7e87726ca42659ff70e62ed6320b2657fb Mon Sep 17 00:00:00 2001 From: Jisagi Date: Thu, 13 Jul 2023 17:23:12 +0200 Subject: [PATCH] Add Steam Group Announcements Bridge (#3527) * Create SteamGroupAnnouncementsBridge.php * Shorten implementation Maybe this fixes the tests * test --------- Co-authored-by: Dag --- bridges/SteamGroupAnnouncementsBridge.php | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 bridges/SteamGroupAnnouncementsBridge.php diff --git a/bridges/SteamGroupAnnouncementsBridge.php b/bridges/SteamGroupAnnouncementsBridge.php new file mode 100644 index 00000000000..2b848850590 --- /dev/null +++ b/bridges/SteamGroupAnnouncementsBridge.php @@ -0,0 +1,25 @@ + [ + 'name' => 'Group name', + 'exampleValue' => 'freegamesfinders', + 'required' => true + ] + ] + ]; + + public function collectData() + { + $uri = self::URI . 'groups/' . $this->getInput('g') . '/rss'; + $this->collectExpandableDatas($uri, 10); + } +}