emit all api data
dont create two io objects. just connect to the right url the first time
Merge pull request #8 from hayksaakian/master

emit all api data