Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » scratchclient - A scratch API wrapper for python
- Techsoft2020
- Scratcher
13 posts
scratchclient - A scratch API wrapper for python
(retracted)
Last edited by Techsoft2020 (Feb. 10, 2022 08:18:38)
- ajsya
- Scratcher
1000+ posts
scratchclient - A scratch API wrapper for python
whats the advantages over scratchconnect-3
- less features then scratchconnect
- more buggy (sometimes) then scratchconnect
- not as well maintained as scratchconnect (owner is literally banned on scratch)
- dhuls
- Scratcher
1000+ posts
scratchclient - A scratch API wrapper for python
They released. 5.0 while banned so that doesn't matterwhats the advantages over scratchconnect-3
- less features then scratchconnect
- more buggy (sometimes) then scratchconnect
- not as well maintained as scratchconnect (owner is literally banned on scratch)
- mbrick2
- Scratcher
1000+ posts
scratchclient - A scratch API wrapper for python
But arnt they on github @CubeyTheCubeThey released. 5.0 while banned so that doesn't matterwhats the advantages over scratchconnect-3
- less features then scratchconnect
- more buggy (sometimes) then scratchconnect
- not as well maintained as scratchconnect (owner is literally banned on scratch)
My Forums
ATs
Collabaration
My collabs
AIPoint
AspectOS
CoreOS
OddyseyOS
Cops and Robbers
#BringBackManagerRights
#ReturnRightsToManagers
#WeAreForManagerRights
#LetsRemindAboutMangers
#WeAreMangers
#MangersMustManage
The road to 1000 posts!
0 ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ 1000
80% complete
Banner Made By @Abcde26
Card Made By @Polygon
Card Made By @Polygon
- god286
- Scratcher
1000+ posts
scratchclient - A scratch API wrapper for python
CubeyTheCube can't test API changes though. But arnt they on github @CubeyTheCube
Last edited by god286 (Feb. 11, 2022 05:42:58)
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- Chiroyce
- Scratcher
1000+ posts
scratchclient - A scratch API wrapper for python
Scratch is now blocking logins from specific Replit IPs I've just started getting an “incorrect username or password” error for no reason. I'm confused. I tested the credentials and they are correct.
April Fools' topics:
— New Buildings in Scratch's headquarters
— Give every Scratcher an M1 MacBook Air
— Scratch should let users edit other Scratchers' projects
— Make a statue for Jeffalo
— Scratch Tech Tips™
— Make a Chiroyce statue emoji
<img src=“x” onerror=“alert('XSS vulnerability discovered')”>
this is a test sentence
- hiPeeps124816
- Scratcher
500+ posts
scratchclient - A scratch API wrapper for python
not necessarily, what about projects continuously monitoring messages THE FACT THAT THEY HAD A KEEP-ALIVE SCRIPT SHOULD'VE BEEN A RED FLAG!!! WHY????????
Generation 7: First time you see this? Copy and paste it on top of your signature in the forums and increase generation by 1.
thethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethethe
Specs -
OS: macOS 11.6.4
Browser: Varies, usually Safari 15.3 or Opera GX 83 or Firefox 96
Computer: Late 2013 MacBook Pro 2.4GHz Dual Core Intel Core i5
highlight and shift down arrow
;
- god286
- Scratcher
1000+ posts
scratchclient - A scratch API wrapper for python
Scratch is now blocking logins from specific Replit IPs I've just started getting an “incorrect username or password” error for no reason. I'm confused. I tested the credentials and they are correct.
Can we appeal certain accounts or something?!
Last edited by god286 (March 14, 2022 03:04:38)
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- Techsoft2020
- Scratcher
13 posts
scratchclient - A scratch API wrapper for python
Scratch is now blocking logins from specific Replit IPs I've just started getting an “incorrect username or password” error for no reason. I'm confused. I tested the credentials and they are correct.
Can we appeal certain accounts or something?!
I have same error in replit seriously!
- CZSuperboy
- Scratcher
100+ posts
scratchclient - A scratch API wrapper for python
Could that be the issue I've been having?Scratch is now blocking logins from specific Replit IPs I've just started getting an “incorrect username or password” error for no reason. I'm confused. I tested the credentials and they are correct.
- Chiroyce
- Scratcher
1000+ posts
scratchclient - A scratch API wrapper for python
If your credentials are truly correct, yes. I ran a manual script to login from my device and it worked, but the same script doesn't work in replit/ Could that be the issue I've been having?
April Fools' topics:
— New Buildings in Scratch's headquarters
— Give every Scratcher an M1 MacBook Air
— Scratch should let users edit other Scratchers' projects
— Make a statue for Jeffalo
— Scratch Tech Tips™
— Make a Chiroyce statue emoji
<img src=“x” onerror=“alert('XSS vulnerability discovered')”>
this is a test sentence
- Joshisaurio
- Scratcher
100+ posts
scratchclient - A scratch API wrapper for python
https://pypi.org/project/scratchclient/Wow thanks! I wanted to connect my Python! I'll try it! A few days ago I noticed there was no easy way to mess with scratch's API in Python so I created a python module to do this.
You can install it usingpip install scratchclient
Thanks to this npm package for the reference code and ilcheese2 for their modified version of my cloud code.
You can report issues on the github repo, this topic, or my scratch profile.
Usage:
Basic usage:Cloud connection:from scratchclient import ScratchSession session = ScratchSession("ceebee", "--uwu--") # post comments session.get_user("Paddle2See").post_comment("OwO") # lots of other stuff print(session.get_project(450216269).get_comments()[0].content) print(session.get_studio(29251822).description)from scratchclient import ScratchSession session = ScratchSession("griffpatch", "SecurePassword7") connection = session.create_cloud_connection(450216269) connection.set_cloud_variable("variable name", 5000) @connection.on("set") def on_set(variable): print(variable.name, variable.value) print(connection.get_cloud_variable("other variable"))
I havent made documentation yet because I'm lazy so feel free to ask questions in this topic.
- coolcoder1213
- Scratcher
100+ posts
scratchclient - A scratch API wrapper for python
I just use s2py but this is useful for some things.
So, this is just a signature.
Scratchleton - Hamilton Mod
Cloud Stats Projects
My Profile:
coolcoder1213
I am great at cloud variables and Python.
- nini2009ph
- Scratcher
87 posts
scratchclient - A scratch API wrapper for python
(#394)Your computer lost connection to the server (There is nothing to do about it then to restart the websocket use try or threading to restart it)
Hello can i get some help with an error i keep getting. the error i get is websocket._exceptions.websocketconnectionclosedexception: connection to remote host was lost. i get the error after my code has been running for about 10+ hours.
- nini2009ph
- Scratcher
87 posts
scratchclient - A scratch API wrapper for python
(#555)Or you can try my client xd https://replit.com/@nini2009ph/ScratchCloudClient-BETA-10#main.py (Copy the URL don't click it because scratch makes the @ to 40% xd)(#394)Your computer lost connection to the server (There is nothing to do about it then to restart the websocket use try or threading to restart it)
Hello can i get some help with an error i keep getting. the error i get is websocket._exceptions.websocketconnectionclosedexception: connection to remote host was lost. i get the error after my code has been running for about 10+ hours.
Last edited by nini2009ph (April 19, 2022 05:04:58)
- nini2009ph
- Scratcher
87 posts
scratchclient - A scratch API wrapper for python
(#557)It's like scratchclient but upgraded
What does it do ??
- eucc
- Scratcher
59 posts
scratchclient - A scratch API wrapper for python
Interaction with Scratch API What does it do ??
- eucc
- AdamKRPS425
- Scratcher
43 posts
scratchclient - A scratch API wrapper for python
can you tell me how you made this?
I am interested in making one to suit my needs
I am interested in making one to suit my needs
very unfortunately, my forum signature was eaten by an evil wizard and has now run away. please select this text and press ctrl+shift+down_key to view a animation
evil wizard code::events hat
forever
if <stolen forum signiture> then
laugh [he he he!] [quietly! v]
run!!!
end
end
hi
hi!
hi!
————
| . . |
| ____ |
| / \|
————
————
| . . |
| ____ |
| |
————
————
| . . |
| \____/ |
| |
————
you have reached the end of the animation.
BYE!!!
- SansStudios
- Scratcher
1000+ posts
scratchclient - A scratch API wrapper for python
The creator made this using Python. They had to do a few things:
1. Coding
- Decide on how things work (syntax, objects, etc)
- Write out the code for all of the different objects
- Understand and implement scratch's websocket connection and apis
2. Publishing
- Using PyPi to publish the package
Basically, to create your own scratch python library, you should first learn Python.
1. Coding
- Decide on how things work (syntax, objects, etc)
- Write out the code for all of the different objects
- Understand and implement scratch's websocket connection and apis
2. Publishing
- Using PyPi to publish the package
Basically, to create your own scratch python library, you should first learn Python.
☁️ scratchcloud ☁️
Click above to check it out! I've worked on it for over a year!
Just like sudden sadness comes hangin' on the breeze