Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » [UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
- Sid72020123
-
Scratcher
500+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
Oh. Actually the profile comments API is made by me as the ScratchAPI didn't had any API endpoint to get the comments in JSON format.I need help
It may give some errors. Let me try to fix it…
Also, no need to use login with cookie as the comments is only a GET request. But to get other requests from the Scratch API, you need to use “online ide cookie login”: https://github.com/Sid72020123/scratchconnect#using-scratchconnect-in-online-ides-like-replit
- Sid72020123
-
Scratcher
500+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
I found the problem! There was an error with the proxy which the comments API was using! I changed it.Oh. Actually the profile comments API is made by me as the ScratchAPI didn't had any API endpoint to get the comments in JSON format.I need help
It may give some errors. Let me try to fix it…
Also, no need to use login with cookie as the comments is only a GET request. But to get other requests from the Scratch API, you need to use “online ide cookie login”: https://github.com/Sid72020123/scratchconnect#using-scratchconnect-in-online-ides-like-replit
Now it should work: https://scratch-comments-api.sid72020123.repl.co/user/?username=-cloudcoding-&limit=5&page=1
- -cloudcoding-
-
Scratcher
1000+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
Wait can I just run my code again? Sorry I looked at the code and I did not understand it? Btw for some reason repl.co is blocked but not replit.comI found the problem! There was an error with the proxy which the comments API was using! I changed it.Oh. Actually the profile comments API is made by me as the ScratchAPI didn't had any API endpoint to get the comments in JSON format.I need help
It may give some errors. Let me try to fix it…
Also, no need to use login with cookie as the comments is only a GET request. But to get other requests from the Scratch API, you need to use “online ide cookie login”: https://github.com/Sid72020123/scratchconnect#using-scratchconnect-in-online-ides-like-replit
Now it should work: https://scratch-comments-api.sid72020123.repl.co/user/?username=-cloudcoding-&limit=5&page=1
- -cloudcoding-
-
Scratcher
1000+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
So I did not push the linkWait can I just run my code again? Sorry I looked at the code and I did not understand it? Btw for some reason repl.co is blocked but not replit.comI found the problem! There was an error with the proxy which the comments API was using! I changed it.Oh. Actually the profile comments API is made by me as the ScratchAPI didn't had any API endpoint to get the comments in JSON format.I need help
It may give some errors. Let me try to fix it…
Also, no need to use login with cookie as the comments is only a GET request. But to get other requests from the Scratch API, you need to use “online ide cookie login”: https://github.com/Sid72020123/scratchconnect#using-scratchconnect-in-online-ides-like-replit
Now it should work: https://scratch-comments-api.sid72020123.repl.co/user/?username=-cloudcoding-&limit=5&page=1
- Sid72020123
-
Scratcher
500+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
Ok! No problem. Yes, you can run your code again…So I did not push the linkWait can I just run my code again? Sorry I looked at the code and I did not understand it? Btw for some reason repl.co is blocked but not replit.comI found the problem! There was an error with the proxy which the comments API was using! I changed it.Oh. Actually the profile comments API is made by me as the ScratchAPI didn't had any API endpoint to get the comments in JSON format.I need help
It may give some errors. Let me try to fix it…
Also, no need to use login with cookie as the comments is only a GET request. But to get other requests from the Scratch API, you need to use “online ide cookie login”: https://github.com/Sid72020123/scratchconnect#using-scratchconnect-in-online-ides-like-replit
Now it should work: https://scratch-comments-api.sid72020123.repl.co/user/?username=-cloudcoding-&limit=5&page=1
- WojtekGame
-
Scratcher
1000+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
We can migrate from Replit to Codesandbox!
The reason is now it supports Python!
The reason is now it supports Python!

- Sid72020123
-
Scratcher
500+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
We can migrate from Replit to Codesandbox!Great! But have you tested calling a simple GET request to the Scratch API from there?
The reason is now it supports Python!
- WojtekGame
-
Scratcher
1000+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
EDIT:Yes!We can migrate from Replit to Codesandbox!Great! But have you tested calling a simple GET request to the Scratch API from there?
The reason is now it supports Python!
My cloud sandbox
(Do not read my secrets!)
Last edited by WojtekGame (Feb. 25, 2023 13:48:59)
- Sid72020123
-
Scratcher
500+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
Great! It works! But what are its limits? I can see only 20 sandboxes per free account or teamEDIT:Yes!We can migrate from Replit to Codesandbox!Great! But have you tested calling a simple GET request to the Scratch API from there?
The reason is now it supports Python!
My cloud sandbox
(Do not read my secrets!)

Also, it should support flask…
- WojtekGame
-
Scratcher
1000+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
codesandbox: am i a joke to u?you guys should use railway or heroku if you don't want to have a half-baked proxy shaking your requests.I don't recall a proxy that I made. Sid72020123 made it. It only supports get requests though. (still trying to find a way to support put through the proxy, tinkering with the code a lot)Also, you are using the “post_comment” feature on Replit which will not work as already stated in the docs. You can only do “get” requests in replit and set cloud variables too!I'm using Knightbot63's proxy though, that should work.
or just run it yourselves on your own machines…
- WojtekGame
-
Scratcher
1000+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
note that ScratchConnect servers written in Python don't last too long.Great! It works! But what are its limits? I can see only 20 sandboxes per free account or teamEDIT:Yes!We can migrate from Replit to Codesandbox!Great! But have you tested calling a simple GET request to the Scratch API from there?
The reason is now it supports Python!
My cloud sandbox
(Do not read my secrets!)
Also, it should support flask…
- Sid72020123
-
Scratcher
500+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
Oh! Then maybe replit is more better than codesandboxnote that ScratchConnect servers written in Python don't last too long.Great! It works! But what are its limits? I can see only 20 sandboxes per free account or teamEDIT:Yes!We can migrate from Replit to Codesandbox!Great! But have you tested calling a simple GET request to the Scratch API from there?
The reason is now it supports Python!
My cloud sandbox
(Do not read my secrets!)
Also, it should support flask…

- WojtekGame
-
Scratcher
1000+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
CodeSandbox can be also an option but it's your choice.Oh! Then maybe replit is more better than codesandboxnote that ScratchConnect servers written in Python don't last too long.Great! It works! But what are its limits? I can see only 20 sandboxes per free account or teamEDIT:Yes!We can migrate from Replit to Codesandbox!Great! But have you tested calling a simple GET request to the Scratch API from there?
The reason is now it supports Python!
My cloud sandbox
(Do not read my secrets!)
Also, it should support flask…
- Sid72020123
-
Scratcher
500+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
Hello Everyone,
I just wanted to announce that my very important school exams are going to start from this coming Monday (27th of March, 2023). This exams will continue for over a month till 29th of March, 2023.
I won't be active during this period and I won't add any new features to the library or fix bugs
I also won't be able to answer the questions in this topic or help you with your code. Sorry for that.
I just wanted to announce that my very important school exams are going to start from this coming Monday (27th of March, 2023). This exams will continue for over a month till 29th of March, 2023.
I won't be active during this period and I won't add any new features to the library or fix bugs

I also won't be able to answer the questions in this topic or help you with your code. Sorry for that.
- -cloudcoding-
-
Scratcher
1000+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
Hello Everyone,oh ok thanks
I just wanted to announce that my very important school exams are going to start from this coming Monday (27th of March, 2023). This exams will continue for over a month till 29th of March, 2023.
I won't be active during this period and I won't add any new features to the library or fix bugs
I also won't be able to answer the questions in this topic or help you with your code. Sorry for that.
- WojtekGame
-
Scratcher
1000+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
Hello Everyone,ok
I just wanted to announce that my very important school exams are going to start from this coming Monday (27th of March, 2023). This exams will continue for over a month till 29th of March, 2023.
I won't be active during this period and I won't add any new features to the library or fix bugs
I also won't be able to answer the questions in this topic or help you with your code. Sorry for that.
- WojtekGame
-
Scratcher
1000+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
https://codesandbox.io/pricing?for=personal
Even though 20 public sandboxes for Teams, you can do Personal work instead that you can create infinite sandboxes.
Even though 20 public sandboxes for Teams, you can do Personal work instead that you can create infinite sandboxes.
- WojtekGame
-
Scratcher
1000+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
autobump
- Sid72020123
-
Scratcher
500+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
This is a small note for the people who use my proxy hosted on deta.sh:
Due to recent updates on deta.sh, the team is deciding to stop the micros. The owners of the micros will have to migrate to deta.space and the micros will run till 1st of May, 2023. After that, my proxy will stop working.
After my exams, I will migrate/make new proxies for both the ScratchConnect library and the free proxy used by SUI. This will be done 15 days before the deadline. So, ScratchConnect can still be used on Replit!
Due to recent updates on deta.sh, the team is deciding to stop the micros. The owners of the micros will have to migrate to deta.space and the micros will run till 1st of May, 2023. After that, my proxy will stop working.
After my exams, I will migrate/make new proxies for both the ScratchConnect library and the free proxy used by SUI. This will be done 15 days before the deadline. So, ScratchConnect can still be used on Replit!
- Sid72020123
-
Scratcher
500+ posts
[UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
Important Note:
Due to Replit's new egress limit, most of my APIs will be shut down (except SUI).
So, the comment API and forum API which this library uses will not work anymore
I will make a new API and host it on a serverless server like deta.sh (now deta.space) after my exams. Sorry.

Looks like I need to remove the websocket (live) status from the SUI API…
Due to Replit's new egress limit, most of my APIs will be shut down (except SUI).
So, the comment API and forum API which this library uses will not work anymore

I will make a new API and host it on a serverless server like deta.sh (now deta.space) after my exams. Sorry.

Looks like I need to remove the websocket (live) status from the SUI API…
Last edited by Sid72020123 (March 24, 2023 09:07:45)
- Discussion Forums
- » Advanced Topics
-
» [UN-MAINTAINED] ScratchConnect v5.0 - Simple, Easy-to-use Python library to connect the Scratch API and much more!
I need help