Basically, i want to get notified when a new item is added to the roblox catalog.
I tried using a json page, and i did get the urls, names, creators, prices, ect…
but not what i wanted.
Refreshing every second, but it takes too much internet, and cpu space in my pc.
Please help me
This is a support category for asking questions about how to get something done on the Roblox websites or how to do something on Roblox applications such as Roblox Studio.
You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
What is the issue? Include screenshots / videos if possible!
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
I don’t want it to refresh every minute, i want using (maybe) java script to know that the site changed smth without refreshing the page, any idea about that?
What do you mean? You can only check if a page has changed by making a request and looking at its content. I don’t know what you mean. Do you want to do it in Javascript instead?
Any language will work, as long as i can know when a site has changed its content without refreshing the page, i don’t really care if it was js, python or anything else, just a way i can know with, and as far as i searched, ig its only possible by js
wait so as you said here, rolimons do it like this?
coz i asked him and he said he uses python to run discord bot and uses some of the roblox catalog apis and sum of js
It’s possible in any language, as long as you’re able to make HTTP requests. I gave you a script in Python, using the requests library (which allows HTTP requests), and if you want to do it in browser Javascript, you can use XMLHttpRequest, fetch, or Ajax. In Node.js, you can use Axios.
It doesn’t really matter which language you use. It’s just a personal preference, although I’d recommend Python over Node for beginners. I prefer Node because I’m used to Javascript. Use whatever is best for you.
Like I said, I’d recommend Python for beginners. For smaller servers (like your computer), it’s also probably less-resource intensive than a Node environment. I gave you an example Python script on the other post.
@hihi250 i don’t really know if i mentioned that but my main thing from this topic is to know how to get changes to a site without refreshing the page every x seconds
I still don’t know what you mean. Obviously the only way of checking the content of a page is to visit the page itself. And to check against the content for new content, you have to make another request. You could make the trigger anything - it doesn’t have to be every X amount of time - but that’s the normal way of repeatedly checking automatically.