I need help making a bot

I'm making a cricket bot which will give live news and scores. I have figured out the news part but the live scorecard dosent update from the API. Can anyone help me?