API to get user ratings on chess.com, and returns it as plain text
Add a custom command using the ${customapi.url}, like the example bellow
${customapi.https://darckfast.com/api/chess?username=chess_com_username&message=$(queryescape "current rating on rapid: =rapid and puzzles: =tactics")}Add a custom command using the $(urlfetch url), like the example bellow
$(urlfetch https://darckfast.com/api/chess?username=chess_com_username&message=$(querystring "current rating on rapid: =rapid and puzzles: =tactics"))Add a custom command using the $(customapi url), like the example bellow
$(customapi https://darckfast.com/api/chess?username=chess_com_username&message=$(querystring "current rating on rapid: =rapid and puzzles: =tactics"))Create a URL-Fetch command, like the example bellow
https://darckfast.com/api/chess?username=chess_com_username&message="current rating on rapid: =rapid and puzzles: =tactics"The API can be called directly with a GET HTTP request
curl -X GET 'https://darckfast.com/api/chess' \
--url-query 'username=MagnusCarlsen' \
--url-query 'message=Magnus Carlsen current rating on rapid: =rapid, bullet: =bullet, blitz: =lightning'