How to get Emotes/ Badges object?

Thanks, as mentioned “get all emotes” gives me an error about the api living in another castle. As far as the “http://static-cdn.jtvnw.net/emoticons/v1/EMOTE_ID/SIZE” method, where would I get a list of emotes and their corresponding IDs? I would need this to replace “kappa” with “1223324” or whatever it would be.