Skip to content

Consider using the official Data Dragon CDN for champion images #1

Description

@Gnifle

Hiya! Awesome project - gave me some very fitting results on my first try, and it seems everyone else is enjoying it as well.

A suggestion for your site: Instead of fetching champion images from your own champ_pic directory, consider looking into Riot Games' static data API (known as the Data Dragon) → https://developer.riotgames.com/docs/static-data. This allows you to get champion squares that:

By the looks of it, I assume you've been aiming for some nostalgia by using every old champion square - but consider this suggestion a small challenge for yourself to implement. It could also lead to you learning a thing or two about using API's which is also useful if you end up trying to learn JS. The Riot Games API (https://developer.riotgames.com) is super well documented and simple to use once you get a hang of it :)

Let me know if you're completely stuck, and I can try and help you the best I can (I'm also learning myself)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions