I am trying to make a simple portfolio website on replit and I want to be able to have it live update my list of repls. I want a simple api that can give me a list of all of my repls and maybe even the folders they are in? However, I have not been able to find an answer that suits my needs that I can understand. Here is what I have tried to do:
const fetch = require('node-fetch'); fetch("https://replit.com/data/profiles/[username]") .then(res => res.text()) .then(text => console.log(text))
But it gives an error code 1020. I wanted to know if there is a different way to do this, or better yet, if there is a simple api to do this for me.