Assets / icons
Hello, I would like to know how to match the ids (badges, icons arena) that the json returns during an api call of https://developer.clashroyale.com/#/ with image urls. Let's assume that the ids correspond to your database, how do you do for the clan icons, because each clan has custom icons

It‘s not possible. Just match it yourself.
You can also use our constants to fetch the arena info with IDs, but you’ll still have to make the icons yourself. You can of course use the icons from this repository.
https://github.com/RoyaleAPI/cr-api-data/blob/master/docs/json/arenas.json
Thanks you :)