Riot has released an official API for all relevant game data. It is now expressily forbidden to use RTMP calls for data gathering purposes. Please refer to the following page for documentation:
yerich/LOLSpectateDataServer
Simple server that gets active game of summoner on League of Legends
JavaGPL-3.0