{"repo":"j0k3r/worldcup-slack-bot","free":true,"listed":false,"github":"https://github.com/j0k3r/worldcup-slack-bot","clone":"git clone https://github.com/j0k3r/worldcup-slack-bot.git","description":"WorldCupBot will notify a Slack channel/group for every match during a FIFA World Cup","language":"PHP","stars":42,"topics":["slack","bot","worldcup","football","worldcup-slack-bot","php","fifa-api"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Worldcup Slack Bot WorldCupBot will notify a Slack channel/group for every matches during a FIFA World Cup. The API haven't changed since the Russia World Cup 2018. Which means you can use that bot for every FIFA World Cup, you just need to update ID COMPETITION & ID SEASON . Find the competition you are looking for World Cup ID COMPETITION ID SEASON ----------------------------------- ---------------- ----------- FIFA World Cup Russia 2018™ 17 254645 FIFA U-20 World Cup Poland 2019 104 281971 FIFA Women's World Cup France 2019™ 103 278513 FIFA World Cup Qatar 2022™ 17 255711 FIFA World Cup 26™ 17 285023 If the competition you are looking for isn't defined below, here is how you can find these numbers: - determine when the competition will start (for example 2022-11-19T00:00:00Z ) - go to https://api.fifa.com/api/v3/calendar/matches?from=DATE START&language=en&count=500 and replace DATE START with the previous date (be careful to use the same format) - look for the competition (for example FIFA World Cup Qatar 2022 ) - get the correspondant values: - IdSeason - IdCompetition What it does That bot is using the \"unofficial\" FIFA json API (the one used for their mobile apps). It will post a message : - when a match starts - for every red/yellow card - for the half time and end time - and of course, for every goal Preview Here is a preview of the United States vs Wales match (during the 2022 edition). Requirements - PHP = 5.5 (I guess?) - You need to create a Slack Apps with an i","default_branch":null,"files":null,"tree":[],"storefront":"/r/j0k3r","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/j0k3r/worldcup-slack-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}