Icons

    EndpointDescription
    GET /v1/icons/:icon_idGets an icon

    GET /v1/icons/:icon_id

    Gets an icon

    Request Parameters

    Location Name Type Required? Description
    url :icon_id string ✔️ Icon ID.

    Example Request

    Header:

    GET /v1/icons/0
    Host: api.pkmnapi.com
    Authorization: Bearer <access_token>
    

    Body:

    None

    Response Parameters

    None

    Example Response

    Header:

    HTTP/1.1 200 OK
    Content-Type: image/gif
    Content-Disposition: attachment; filename="icon-0.gif"
    Server: pkmnapi/0.1.0
    

    Body:

    icon-0.gif