简体   繁体   English

Riot API - 我可以从哪里获取个人资料图片? Python

[英]Riot API - Where can I pull Profile Pictures from? Python

I have a key and it works, I can pull information from the api, and I want to know where exactly do I go to pull a profile picture from so I can post it in a discord message through a bot.我有一个钥匙,它可以工作,我可以从 api 中提取信息,我想知道我究竟在哪里从 go 中提取个人资料图片,以便我可以通过 Z482BCDDC8FE53ED1E638C77A95AAB5F8 消息将其发布到 Z482BCDDC8FE53ED1E638C77A95AAB5F8 中。

in the riot documents it appears to which image each profile number corresponds https://developer.riotgames.com/docs/lol在防暴文件中,每个配置文件编号对应于哪个图像https://developer.riotgames.com/docs/lol

ANSW http://ddragon.leagueoflegends.com/cdn/10.15.1/img/profileicon/588.png ANSW http://ddragon.leagueoflegends.com/cdn/10.15.1/img/profileicon/588.png

you need change the number at the end你需要改变最后的数字

144.png....... ETC Program IT 144.png....... ETC 程序 IT

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM