I need a PHP script, this script must be able to run within a Codeigniter application so you should write it as a helper function or a single, simple controller that I can add to my project.
What I want to do is to extract live score results from Rugby games. The script will be executed automatically by my application when a game is live. I'll pass several "search phrases" to the script like "#brumbies vs #rebels" or "#brumbies live score" etc. Whatever I think will be the best to get the live results from other people's tweets. The script must then extract the actual score and return an array to me with the scores:
array['rebels'] = 20;
or whatever, I need the values of the scores returned only.