{"id":40663473,"url":"https://github.com/webyonet/broadage-widget-react","last_synced_at":"2026-01-21T09:04:48.096Z","repository":{"id":35041319,"uuid":"199738339","full_name":"webyonet/broadage-widget-react","owner":"webyonet","description":"Broadage widgets react wrapper","archived":false,"fork":false,"pushed_at":"2024-11-25T09:14:17.000Z","size":1084,"stargazers_count":3,"open_issues_count":10,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-09T02:45:49.510Z","etag":null,"topics":["boxscore","broadage","commentary","fixture","game-leaders","leaderboard","lineup","livescore","match-center","match-statistics","play-by-play","squad","standings","widgets"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webyonet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-30T22:47:51.000Z","updated_at":"2024-11-25T09:14:21.000Z","dependencies_parsed_at":"2023-01-15T12:45:39.429Z","dependency_job_id":null,"html_url":"https://github.com/webyonet/broadage-widget-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webyonet/broadage-widget-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webyonet%2Fbroadage-widget-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webyonet%2Fbroadage-widget-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webyonet%2Fbroadage-widget-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webyonet%2Fbroadage-widget-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webyonet","download_url":"https://codeload.github.com/webyonet/broadage-widget-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webyonet%2Fbroadage-widget-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28630938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boxscore","broadage","commentary","fixture","game-leaders","leaderboard","lineup","livescore","match-center","match-statistics","play-by-play","squad","standings","widgets"],"created_at":"2026-01-21T09:04:47.460Z","updated_at":"2026-01-21T09:04:48.090Z","avatar_url":"https://github.com/webyonet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# broadage-widget-react\nBroadage widgets react wrapper\n\n* Tournament list widget\n* Livescore widget\n* Tournament Info widget\n* Tournament Teams widget\n* Tournament Fixture widget\n* Team Fixture widget\n* Tournament Standings widget\n* Leaderboard widget\n* Leaderboard Points widget\n* Match Summary widget\n* Match Boxscore widget\n* Match Play by Play widget\n* Team Squad widget\n* Team Schedule widget\n* Leaderboard widget\n* Leaderboard Goals widget\n* Leaderboard Assists widget\n* Leaderboard Yellow Cards widget\n* Leaderboard Red Cards widget\n* Team Squad with Statistics widget\n* Timeline widget\n* Lineup widget\n* Formation widget\n* Lead Tracker widget\n* Match Center widget\n* Match Center widget\n* [more](https://www.broadage.com/sports-data-widgets)\n\n### Installation\n\n`yarn add broadage-widget-react`\n\u003cbr/\u003eor\u003cbr/\u003e\n`npm install broadage-widget-react --save`\n\n### Products and Documentations\n\n[Main Page](https://www.broadage.com)\n\u003cbr/\u003e\n[Developers Guide](https://developers.broadage.com)\n\u003cbr/\u003e\n[Widget Guide](https://developers.broadage.com/widget)\n\n### Usage\n\n```javascript\nimport React, { Component, Fragment, useState } from 'react';\nimport BroadageWidget from 'broadage-widget-react';\n\nexport default function SampleSoccerFixture() {\n    const onActionCallback = (widgetType, actionType, actionPayload) =\u003e {\n        console.log(widgetType, actionType, actionPayload);\n    };\n\n    // Soccer Fixture Sample\n\n    return (\n        \u003cBroadageWidget\n            requiredFields={{ tournamentId: 1 }}\n            options={{ lang: 'en-US' }}\n            widget=\"soccerFixture\"\n            bundleId=\"soccer-fx\"\n            accountId=\"0000-0000-0000\"\n            className=\"widget-wrapper\"\n            queryStringParse={{ tournamentId: 'tid' }}\n            onActionCallback={onActionCallback}\n        /\u003e\n    );\n}\n\nexport class SampleBasketballMatchCenter extends Component {\n    onActionCallback = (widgetType, actionType, actionPayload) =\u003e {\n        console.log(widgetType, actionType, actionPayload);\n    };\n\n    render() {\n        // Basketball Match Center Sample\n        return (\n            \u003cBroadageWidget\n                requiredFields={{ matchId: 286298 }}\n                options={{ lang: 'fr-FR', theme: 'darkBlue' }}\n                widget=\"basketballMatchCenter\"\n                bundleId=\"basketball-mc\"\n                accountId=\"0000-0000-0000\"\n                className=\"widget-wrapper\"\n                queryStringParse={{ matchId: 'mid' }}\n                onActionCallback={this.onActionCallback}\n            /\u003e\n        );\n    }\n}\n\nexport default function ChangeOptionsSample() {\n    const [options, setOptions] = useState({ lang: 'en-US' });\n    const [requiredFields, setRequiredFields] = useState({ tournamentId: 1 });\n    \n    const onActionCallback = (widgetType, actionType, actionPayload) =\u003e {\n        console.log(widgetType, actionType, actionPayload);\n    };\n\n    const onChangeRequiredFields = () =\u003e {\n        setRequiredFields(previousState =\u003e {\n            return { ...previousState, tournamentId: 3 };\n        });\n    };\n\n    const onChangeOptions = () =\u003e {\n        setOptions(previousState =\u003e {\n            previousState.lang = 'tr-TR';\n            previousState.theme = 'darkBlue';\n            previousState.regionalMatchViewType = 'american';\n\n            return { ...previousState };\n        });\n    };\n\n    return (\n        \u003cFragment\u003e\n            {/* Change Tournament */}\n            \u003ca onClick={onChangeRequiredFields}\u003e\n                Change Torunament\n            \u003c/a\u003e\n            \n            {/* Change Lang, Theme, Regional Match View Type */}\n            \u003ca onClick={onChangeOptions}\u003e\n                Change Optional Fields\n            \u003c/a\u003e\n            \n            \u003cBroadageWidget\n                requiredFields={requiredFields}\n                options={options}\n                widget=\"soccerFixture\"\n                bundleId=\"soccer-fx\"\n                accountId=\"0000-0000-0000\"\n                className=\"widget-wrapper\"\n                queryStringParse={{ tournamentId: 'tid' }}\n                onActionCallback={onActionCallback}\n            /\u003e\n        \u003c/Fragment\u003e\n    );\n}\n```\n\n\n### Props\n\n| Name                               | Type        | Description                                                                        |\n|------------------------------------|-------------|------------------------------------------------------------------------------------|\n|`requiredFields`                    | Object      | Mandatory fields for widget in work are defined in this field                      |\n|`options`   (optional using)        | Object      | Language, theme, etc. properties are assigned in this field.                       |\n|`widget`                            | String      | The type of widget is define in this field                                         |\n|`bundleId`                          | String      | The widget bundle id is define in this field                                       |\n|`accountId`                         | String      | Broadage account number is defined in this field                                   |\n|`className` (optional using)        | String      | Assigns class name to main container                                               |\n|`queryStringParse` (optional using) | Object      | Match the URL query string and widget mandatory fields to each other.              |\n|`onActionCallback` (optional using) | Function    | This callback function is triggered by user changed filters, score change etc.     |\n   \n           \n### Widget type to bundleId\n\nIn the json object below: \n`key: widget type` `value: bundle id`\n\n```javascript\n{\n   soccerFixture: \"soccer-fx\",\n   soccerTeamSchedule: \"soccer-ts\",\n   soccerTeamMatchDaySchedule: \"soccer-tmds\",\n   soccerStandings: \"soccer-st\",\n   soccerLiveStandings: \"soccer-lstd\",\n   soccerTeamStandings: \"soccer-tst\",\n   soccerH2hStandings: \"soccer-hst\",\n   soccerSquadStats: \"soccer-sqs\",\n   soccerLeaderboardGoals: \"soccer-lbg\",\n   soccerLeaderboardAssists: \"soccer-lba\",\n   soccerLeaderboardCards: \"soccer-lbc\",\n   soccerTeamGoalsLeaderboard: \"soccer-tglb\",\n   soccerTeamAssistsLeaderboard: \"soccer-talb\",\n   soccerTeamCardsLeaderboard: \"soccer-tclb\",\n   soccerLiveFixture: \"soccer-lfx\",\n   soccerCommentary: \"soccer-cm\",\n   soccerScoreboard: \"soccer-sb\",\n   soccerLiveMatchStatistics: \"soccer-lmsts\",\n   soccerTimeline: \"soccer-tl\",\n   soccerLineup: \"soccer-lu\",\n   soccerFormation: \"soccer-fmt\",\n   soccerMatchInfo: \"soccer-mi\",\n   soccerMatchCenter: \"soccer-mc\",\n   soccerMissingPlayers: \"soccer-mp\",\n   soccerH2hResults: \"soccer-hr\",\n   soccerH2hStats: \"soccer-hs\",\n   soccerMarketStats: \"soccer-ms\",\n   soccerTeamForm: \"soccer-tf\",\n   soccerSeasonalMarketStats: \"soccer-sms\",\n   soccerTeamSeasonalStats: \"soccer-tss\",\n   soccerMatchHeader: \"soccer-mh\",\n   soccerTotalGoalTable: \"soccer-tgt\",\n   soccerBothTeamsToScore: \"soccer-btts\",\n   soccerFullTimeUnderOverTable: \"soccer-ftuot\",\n   soccerHalfTimeUnderOverTable: \"soccer-htuot\",\n   soccerRefereeStats: \"soccer-rs\",\n   soccerStreaks: \"soccer-strk\",\n   soccerGoalsRound: \"soccer-gr\",\n   soccerSeasonalGoalAnalysis: \"soccer-sga\",\n   soccerGoalAnalysis: \"soccer-ga\",\n   soccerTournamentGoalAnalysis: \"soccer-tga\",\n   soccerRefereeMatchStats: \"soccer-rms\",\n   soccerH2hRivalsStandings: \"soccer-hrs\",\n   soccerPositionMatrix: \"soccer-pm\",\n   basketballFixture: \"basketball-fx\",\n   basketballTeamSchedule: \"basketball-ts\",\n   basketballTeamMatchDaySchedule: \"basketball-tmds\",\n   basketballStandings: \"basketball-st\",\n   basketballTeamStandings: \"basketball-tst\",\n   basketballH2hStandings: \"basketball-hst\",\n   basketballSquadStats: \"basketball-sqs\",\n   basketballLeaderboardPointsPerGame: \"basketball-lbppg\",\n   basketballLeaderboardAssistsPerGame: \"basketball-lbapg\",\n   basketballLeaderboardReboundsPerGame: \"basketball-lbrpg\",\n   basketballTeamAssistsLeaderboardPerGame: \"basketball-talbpg\",\n   basketballTeamPointsLeaderboardPerGame: \"basketball-tplbpg\",\n   basketballTeamReboundsLeaderboardPerGame: \"basketball-trlbpg\",\n   basketballScoreboard: \"basketball-sb\",\n   basketballMatchInfo: \"basketball-mi\",\n   basketballBoxScore: \"basketball-bs\",\n   basketballLeadTracker: \"basketball-lt\",\n   basketballGameLeaders: \"basketball-gl\",\n   basketballLiveMatchStatistics: \"basketball-lmsts\",\n   basketballPlayByPlay: \"basketball-pbp\",\n   basketballMatchCenter: \"basketball-mc\",\n   basketballH2hResults: \"basketball-hr\",\n   basketballH2hStats: \"basketball-hs\",\n   basketballTeamSeasonalStats: \"basketball-tss\",\n   basketballSeasonalMarketStats: \"basketball-sms\",\n   basketballTeamForm: \"basketball-tf\",\n   basketballMarketStats: \"basketball-ms\",\n   basketballMatchHeader: \"basketball-mh\",\n   basketballMissingPlayers: \"basketball-mp\",\n   basketballH2hBasedPointsAnalysis: \"basketball-hbpa\",\n   basketballH2hSeasonalPointsAnalysis: \"basketball-hspa\",\n   basketballH2hTournamentMatchMargin: \"basketball-tmm\",\n   basketballSeasonalTeamAdvancedStats: \"basketball-stas\",\n   basketballFullTimeUnderOverAnalysis: \"basketball-ftuoa\",\n   basketballHalfTimeUnderOverAnalysis: \"basketball-htuoa\",\n   handballFixture: \"handball-fx\",\n   handballTeamSchedule: \"handball-ts\",\n   handballTeamMatchDaySchedule: \"handball-tmds\",\n   handballStandings: \"handball-st\",\n   handballTeamStandings: \"handball-tst\",\n   handballH2hStandings: \"handball-hst\",\n   handballH2hResults: \"handball-hr\",\n   handballMatchHeader: \"handball-mh\",\n   handballH2hStats: \"handball-hs\",\n   handballTeamForm: \"handball-tf\",\n   handballTeamSeasonalStats: \"handball-tss\",\n   handballScoreboard: \"handball-sb\",\n   volleyballFixture: \"volleyball-fx\",\n   volleyballTeamSchedule: \"volleyball-ts\",\n   volleyballTeamMatchDaySchedule: \"volleyball-tmds\",\n   volleyballStandings: \"volleyball-st\",\n   volleyballTeamStandings: \"volleyball-tst\",\n   volleyballH2hStandings: \"volleyball-hst\",\n   volleyballH2hResults: \"volleyball-hr\",\n   volleyballMatchHeader: \"volleyball-mh\",\n   volleyballH2hStats: \"volleyball-hs\",\n   volleyballTeamForm: \"volleyball-tf\",\n   volleyballTeamSeasonalStats: \"volleyball-tss\",\n   volleyballScoreboard: \"volleyball-sb\",\n   footballFixture: \"football-fx\",\n   footballStandings: \"football-st\",\n   footballScoreboard: \"football-sb\",\n   footballBoxScore: \"football-bs\",\n   footballLiveMatchStatistics: \"football-lmsts\",\n   footballLiveTeamStatistics: \"football-ltsts\",\n   footballGameLeaders: \"football-gl\",\n   footballPlayByPlay: \"football-pbp\",\n   footballH2hStandings: \"football-hst\",\n   footballTeamSchedule: \"football-ts\",\n   footballTeamStandings: \"football-tst\",\n   baseballFixture: \"baseball-fx\",\n   baseballStandings: \"baseball-st\",\n   baseballScoreboard: \"baseball-sb\",\n   baseballH2hStandings: \"baseball-hst\",\n   baseballTeamSchedule: \"baseball-ts\",\n   baseballTeamStandings: \"baseball-tst\",\n   iceHockeyFixture: \"iceHockey-fx\",\n   iceHockeyStandings: \"iceHockey-st\",\n   iceHockeyScoreboard: \"iceHockey-sb\",\n   iceHockeyH2hResults: \"iceHockey-hr\",\n   iceHockeyH2hStats: \"iceHockey-hs\",\n   iceHockeyMatchHeader: \"iceHockey-mh\",\n   iceHockeyTeamSeasonalStats: \"iceHockey-tss\",\n   iceHockeyTeamForm: \"iceHockey-tf\",\n   iceHockeyH2hStandings: \"iceHockey-hst\",\n   iceHockeyTeamSchedule: \"iceHockey-ts\",\n   iceHockeyTeamStandings: \"iceHockey-tst\",\n   tableTennisH2hResults: \"tableTennis-hr\",\n   tableTennisH2hStats: \"tableTennis-hs\",\n   tableTennisMatchHeader: \"tableTennis-mh\",\n   tableTennisTeamSeasonalStats: \"tableTennis-tss\",\n   tableTennisTeamForm: \"tableTennis-tf\",\n   leagueOfLegendsH2hResults: \"leagueOfLegends-hr\",\n   leagueOfLegendsH2hStats: \"leagueOfLegends-hs\",\n   leagueOfLegendsMatchHeader: \"leagueOfLegends-mh\",\n   leagueOfLegendsTeamSeasonalStats: \"leagueOfLegends-tss\",\n   leagueOfLegendsTeamForm: \"leagueOfLegends-tf\",\n   dotaH2hResults: \"dota-hr\",\n   dotaH2hStats: \"dota-hs\",\n   dotaMatchHeader: \"dota-mh\",\n   dotaTeamSeasonalStats: \"dota-tss\",\n   dotaTeamForm: \"dota-tf\",\n   counterStrikeH2hResults: \"counterStrike-hr\",\n   counterStrikeH2hStats: \"counterStrike-hs\",\n   counterStrikeMatchHeader: \"counterStrike-mh\",\n   counterStrikeTeamSeasonalStats: \"counterStrike-tss\",\n   counterStrikeTeamForm: \"counterStrike-tf\",\n   callOfDutyH2hResults: \"callOfDuty-hr\",\n   callOfDutyH2hStats: \"callOfDuty-hs\",\n   callOfDutyMatchHeader: \"callOfDuty-mh\",\n   callOfDutyTeamSeasonalStats: \"callOfDuty-tss\",\n   callOfDutyTeamForm: \"callOfDuty-tf\",\n   overWatchH2hResults: \"overWatch-hr\",\n   overWatchH2hStats: \"overWatch-hs\",\n   overWatchMatchHeader: \"overWatch-mh\",\n   overWatchTeamSeasonalStats: \"overWatch-tss\",\n   overWatchTeamForm: \"overWatch-tf\",\n   hearthstoneH2hResults: \"hearthstone-hr\",\n   hearthstoneH2hStats: \"hearthstone-hs\",\n   hearthstoneMatchHeader: \"hearthstone-mh\",\n   hearthstoneTeamSeasonalStats: \"hearthstone-tss\",\n   hearthstoneTeamForm: \"hearthstone-tf\",\n   starCraftH2hResults: \"starCraft-hr\",\n   starCraftH2hStats: \"starCraft-hs\",\n   starCraftMatchHeader: \"starCraft-mh\",\n   starCraftTeamSeasonalStats: \"starCraft-tss\",\n   starCraftTeamForm: \"starCraft-tf\",\n   fifaH2hResults: \"fifa-hr\",\n   fifaH2hStats: \"fifa-hs\",\n   fifaMatchHeader: \"fifa-mh\",\n   fifaTeamSeasonalStats: \"fifa-tss\",\n   fifaTeamForm: \"fifa-tf\",\n   liveScore: \"all-ls\",\n   liveScoreDetailed: \"all-lsd\",\n   liveScoreTicker: \"all-lst\",\n   trioCombo: \"all-tc\"\n}\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebyonet%2Fbroadage-widget-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebyonet%2Fbroadage-widget-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebyonet%2Fbroadage-widget-react/lists"}