Come to League of Legends Summoner Canyon to write a small program

Come to League of Legends Summoner Canyon to write a small program

Welcome to Summoner's Canyon!

If you are also immersed in the cheering and joy of rock finches jumping out of the spring water with their sleeves, if you also find a lonely creature Leave and Return to the Void in the terrain of Gank or by Gank, you look forward to the long-awaited reunion time and time again, Then come to Summoner's CanyonPlay a round (crossed out)Write a small program.

interface

Riot Games does not provide API interfaces for national server game data, and can only use interfaces from third-party platforms . Register on this platform first, get a Token that can only last for one day, and write the Token in the HTTP Header of the Get method to request data.

table of Contents

.
|-- app.js
|-- app.json
|-- app.wxss
|-- assets
|   `-- demo.gif
|-- pages     
|   |-- index   #  
|   |   |-- index.js
|   |   |-- index.wxml
|   |   `-- index.wxss
|   `-- legends #  
|   |   |-- legends.js
|   |   |-- legends.json
|   |   |-- legends.wxml
|   |   `-- legends.wxss
|   `-- battles #  
|   |   |-- battles.js
|   |   |-- battles.json
|   |   |-- battles.wxml
|   |   `-- battles.wxss
`-- utils       #  
    `-- util.js
 

Demo