Data Scraping Script in PHP

Job ID: 39487749

Budget: $30 – $250 USD

I need a scraper that can collect individual basketball game statistics (repeat the execution of the script (every 30 sec) using cron job on my server) form this website
https://www.fiba.basketball/en/events/basketball-champions-league-asia-2025/games/128202-BRO-ZGL#boxscore

and convert them into a JSON file, the scrapping should be done in php, if it is not possible, we can consider other language the statistics link have the below format
https://www.fiba.basketball/en/events/basketball-champions-league-asia-2025/games/128205-SAH-MRB#boxscore
https://www.fiba.basketball/en/events/basketball-champions-league-asia-2025/games/128208-TYP-LGS#boxscore
https://www.fiba.basketball/en/events/fiba-u16-americup-2025/games/125377-CAN-MEX#boxscore

if you notice the changing element in the url is this section :"basketball-champions-league-asia-2025/games/128205-SAH-MRB#|"

I'm interested in the final score, the Quarter score and in the 2 stats box located underneath the score Team A Statistics is the first box while Team B is the second box

i need to extract the below data and have them formatted in a Json file
#,Players, Min, PTS, FG (%), 2PTS (%), 3PTS (%), FT(%), OREB, DREB, REB, AST, PF, TO, STL, BLK, +/-, EFF

and also the Totals stats for each team So 1 Json file with both Team individual stats, + Total Team Stats

i should insert the matchID="basketball-champions-league-asia-2025/games/128205-SAH-MRB#" and be able to get the relevant JSON file with the data
Related categories: PHP Python Web Scraping Software Architecture MySQL