Let the commmunity send me their levels

I wanted to create a command, that my community could send me their Level IDs from mario maker 2 and I can show the IDs on a list when I what to play them, but i have no clue how to create this. Could sombody help me creating such a command?

1 Like

@just_nico

You could use Ehsan’s quote system API to maintain a list of level requests:

@RokettoJanpu
What should I do, when it is on my channel, I want, that my community can send me levels not my levels to them. I wanted to create a vommand like !levelId or something :smiley:

Make sure you’ve got your public and private tokens for your quote list, then copy and paste the following command responses. Replace PRIVATE_TOKEN with your private token:

!addcom -cd=5 !levelid $(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=$(querystring $(query) - Requested by $(user)))

To request a level, type:

!levelid [level ID]

To view your level requests, go to this link with PUBLIC_TOKEN replaced with your public token:

https://twitch.center/customapi/quote/list?token=PUBLIC_TOKEN&no_id=1

@RokettoJanpu
Sorry I am asking so much, but where can I find this Token?

Click this link. It will generate three links and two tokens, a public token (8 characters long) and a private token (16 characters long). The public token is located within the first generated link. The private token is located within both the second and third generated links. The tokens are found after token= and before &data=$(querystring) Copy them down and keep them somewhere safe.

@RokettoJanpu
How can I delete entrys from the list?

You should set up a command called !deletelevel with the following response. Replace PRIVATE_TOKEN with your private token.

!addcom -ul=mod !deletelevel $(urlfetch https://twitch.center/customapi/delquote?token=PRIVATE_TOKEN&data=$(querystring))

To delete a level request, type:

!deletelevel [list item number]

where the item number is the order number of the level request as it appears on the list. To view the request list, go to this link with PUBLIC_TOKEN replaced with your public token. There will be a list item number at the beginning of each level request:

https://twitch.center/customapi/quote/list?token=PUBLIC_TOKEN

@RokettoJanpu
It doesn’t work, everytime i try typing “!deletelevel 1” it says “No matching entry found”
or same, if I try “!deletelevel LevelID”

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.