Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » scratchattach - A Scratch API wrapper (Python)
- Him_is_bob
- Scratcher
71 posts
scratchattach - A Scratch API wrapper (Python)
yea(#2398)so like download it, get assets and yeet the sb3?getting the whole project file. I understand I may need requests of my own(#2396)were doing what now?
If I wanted to get the full project data sprites costumes everything how would I download? Also for uploading. I am building a scratch android app and these are crucial features
when green flag clicked
if <cool scratcher :: sensing> then{
tell (username) [In a remaster race Go check out the original https://scratch.mit.edu/projects/644148324/] :: looks
} elif <uncool::sensing>{
tell (username) [Looking at my projects will make you cooler.....] :: looks
} :: control
Im sorry i had a bigger evil kumquat but it got eaten by a good signature :: #FFA500
- TheCommCraft
- Scratcher
500+ posts
scratchattach - A Scratch API wrapper (Python)
(#2402)This should work: https://github.com/TheCommCraft/utils/blob/main/sb3download.pyhmm maybe i guessi dont need to integrate the vm yet(#2400)selenium would emulate a browser to get it and zipfile would directly recreate the file formathow would one get the sb3 from scratch(#2398)maybe try selenium or zipfilegetting the whole project file. I understand I may need requests of my own(#2396)were doing what now?
If I wanted to get the full project data sprites costumes everything how would I download? Also for uploading. I am building a scratch android app and these are crucial features
- Him_is_bob
- Scratcher
71 posts
scratchattach - A Scratch API wrapper (Python)
thx!(#2402)This should work: https://github.com/TheCommCraft/utils/blob/main/sb3download.pyhmm maybe i guessi dont need to integrate the vm yet(#2400)selenium would emulate a browser to get it and zipfile would directly recreate the file formathow would one get the sb3 from scratch(#2398)maybe try selenium or zipfilegetting the whole project file. I understand I may need requests of my own(#2396)were doing what now?
If I wanted to get the full project data sprites costumes everything how would I download? Also for uploading. I am building a scratch android app and these are crucial features
when green flag clicked
if <cool scratcher :: sensing> then{
tell (username) [In a remaster race Go check out the original https://scratch.mit.edu/projects/644148324/] :: looks
} elif <uncool::sensing>{
tell (username) [Looking at my projects will make you cooler.....] :: looks
} :: control
Im sorry i had a bigger evil kumquat but it got eaten by a good signature :: #FFA500
- Him_is_bob
- Scratcher
71 posts
scratchattach - A Scratch API wrapper (Python)
getting an error on line 4 though(#2402)This should work: https://github.com/TheCommCraft/utils/blob/main/sb3download.pyhmm maybe i guessi dont need to integrate the vm yet(#2400)selenium would emulate a browser to get it and zipfile would directly recreate the file formathow would one get the sb3 from scratch(#2398)maybe try selenium or zipfilegetting the whole project file. I understand I may need requests of my own(#2396)were doing what now?
If I wanted to get the full project data sprites costumes everything how would I download? Also for uploading. I am building a scratch android app and these are crucial features
when green flag clicked
if <cool scratcher :: sensing> then{
tell (username) [In a remaster race Go check out the original https://scratch.mit.edu/projects/644148324/] :: looks
} elif <uncool::sensing>{
tell (username) [Looking at my projects will make you cooler.....] :: looks
} :: control
Im sorry i had a bigger evil kumquat but it got eaten by a good signature :: #FFA500
- dynamicsofscratch
- Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
(#2404)try emulation of a web browser, access the file, go into the costume, sound or backdrop (because that i assume is what you want and not the code) and export by right clicking on the sound or image file.yea(#2398)so like download it, get assets and yeet the sb3?getting the whole project file. I understand I may need requests of my own(#2396)were doing what now?
If I wanted to get the full project data sprites costumes everything how would I download? Also for uploading. I am building a scratch android app and these are crucial features
aII toasters toast toast, but what happens when there are no longer toasters being produced? will their technology simply become obsolete, with humans moving onto bigger, better things? will toast become a distant memory, written in textbooks of the future as foods us simpler generations ate? who's to say! society is constantly moving, changing, evolving, ideas being built upon, improved upon, theories being proven or disproven. are we but a blip on the timeline? sure, our names may not be remembered, but that's not the point. you can make a change. you can make a difference. you can make the world better, even if you don't know yet. and the first step is to go for it. even if you are afraid of failure. going back to the example of toasters, do you know off the top of your head who invented them? no? have you used one? probably. so, even if you don't remember my name, if I was able to help awnser your question, that is enough. if I was able to help you, even in the slightest way, this could push you to continue with scratch and not give up after the program crashes, and maybe one day learn other programming languages and change the world. everything is a cause and effect reaction, new inventions lead to the technology of the future, and even as the generations of the past are slowly forgotten, their influence lives on to this day, affecting how the world eventually turned out and how it will be for generations to come.
and, without toasters, we wouldn't have toast.
and, without toasters, we wouldn't have toast.
Regards
dynamicsofscratch
Anything above that grey line is a signature!
Also, anything can be put in your signature, (also referred as a siggy) including ads but! You cannot do anything else that violates the community guidelines as, you will be reported and you could be banned/muted.
Computer enthusiast, coder, designer and a offline veteran.
700th post
- -unrelated-
- Scratcher
60 posts
scratchattach - A Scratch API wrapper (Python)
Using selenium would be possible but not very fast(#2404)try emulation of a web browser, access the file, go into the costume, sound or backdrop (because that i assume is what you want and not the code) and export by right clicking on the sound or image file.yea(#2398)so like download it, get assets and yeet the sb3?getting the whole project file. I understand I may need requests of my own(#2396)were doing what now?
If I wanted to get the full project data sprites costumes everything how would I download? Also for uploading. I am building a scratch android app and these are crucial features
<!DOCTYPE html>
- dynamicsofscratch
- Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
(#2409)or can download the file, again do the same process and delete the sb3Using selenium would be possible but not very fast(#2404)try emulation of a web browser, access the file, go into the costume, sound or backdrop (because that i assume is what you want and not the code) and export by right clicking on the sound or image file.yea(#2398)so like download it, get assets and yeet the sb3?getting the whole project file. I understand I may need requests of my own(#2396)were doing what now?
If I wanted to get the full project data sprites costumes everything how would I download? Also for uploading. I am building a scratch android app and these are crucial features
that would be faster and the same thing.
aII toasters toast toast, but what happens when there are no longer toasters being produced? will their technology simply become obsolete, with humans moving onto bigger, better things? will toast become a distant memory, written in textbooks of the future as foods us simpler generations ate? who's to say! society is constantly moving, changing, evolving, ideas being built upon, improved upon, theories being proven or disproven. are we but a blip on the timeline? sure, our names may not be remembered, but that's not the point. you can make a change. you can make a difference. you can make the world better, even if you don't know yet. and the first step is to go for it. even if you are afraid of failure. going back to the example of toasters, do you know off the top of your head who invented them? no? have you used one? probably. so, even if you don't remember my name, if I was able to help awnser your question, that is enough. if I was able to help you, even in the slightest way, this could push you to continue with scratch and not give up after the program crashes, and maybe one day learn other programming languages and change the world. everything is a cause and effect reaction, new inventions lead to the technology of the future, and even as the generations of the past are slowly forgotten, their influence lives on to this day, affecting how the world eventually turned out and how it will be for generations to come.
and, without toasters, we wouldn't have toast.
and, without toasters, we wouldn't have toast.
Regards
dynamicsofscratch
Anything above that grey line is a signature!
Also, anything can be put in your signature, (also referred as a siggy) including ads but! You cannot do anything else that violates the community guidelines as, you will be reported and you could be banned/muted.
Computer enthusiast, coder, designer and a offline veteran.
700th post
- TheCommCraft
- Scratcher
500+ posts
scratchattach - A Scratch API wrapper (Python)
- nexoalex
- Scratcher
79 posts
scratchattach - A Scratch API wrapper (Python)
should i use linode for the servers to make it run all the time
and how do i use it on turbowarp
and how do i use it on turbowarp
Hello i am teh epik duck coder
YT: https://www.youtube.com/channel/UCCZqvGQ8D5mZ5l4ls6jEFMg
WEBSITE: https://nexoalex.w3spaces.com
- ShadowMilo
- Scratcher
13 posts
scratchattach - A Scratch API wrapper (Python)
Of course it won't install if you don't have python! Even if you did alter the PATH environment variables to include pip, it still wouldn't know because pip doesn't exist on your computer. (Also python is SO verified if you ask almost anyone else on this forum) I haven't installed (I corrected) Python, and although (I corrected) this is my personal laptop, I do not have full permission from my parents to install un verified resources.
- nexoalex
- Scratcher
79 posts
scratchattach - A Scratch API wrapper (Python)
bro just run python in command prompt and it shows u the Microsoft store version that doesn't use admin I haven't installled Python, and althouhg this is my personal laptop, I do not have full permission from my parents to install un verified resources.
Hello i am teh epik duck coder
YT: https://www.youtube.com/channel/UCCZqvGQ8D5mZ5l4ls6jEFMg
WEBSITE: https://nexoalex.w3spaces.com
- dynamicsofscratch
- Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
(#2414)he ended up ditching using python altogether, so yeah please stop commenting on this issue.bro just run python in command prompt and it shows u the Microsoft store version that doesn't use admin I haven't installled Python, and althouhg this is my personal laptop, I do not have full permission from my parents to install un verified resources.
aII toasters toast toast, but what happens when there are no longer toasters being produced? will their technology simply become obsolete, with humans moving onto bigger, better things? will toast become a distant memory, written in textbooks of the future as foods us simpler generations ate? who's to say! society is constantly moving, changing, evolving, ideas being built upon, improved upon, theories being proven or disproven. are we but a blip on the timeline? sure, our names may not be remembered, but that's not the point. you can make a change. you can make a difference. you can make the world better, even if you don't know yet. and the first step is to go for it. even if you are afraid of failure. going back to the example of toasters, do you know off the top of your head who invented them? no? have you used one? probably. so, even if you don't remember my name, if I was able to help awnser your question, that is enough. if I was able to help you, even in the slightest way, this could push you to continue with scratch and not give up after the program crashes, and maybe one day learn other programming languages and change the world. everything is a cause and effect reaction, new inventions lead to the technology of the future, and even as the generations of the past are slowly forgotten, their influence lives on to this day, affecting how the world eventually turned out and how it will be for generations to come.
and, without toasters, we wouldn't have toast.
and, without toasters, we wouldn't have toast.
Regards
dynamicsofscratch
Anything above that grey line is a signature!
Also, anything can be put in your signature, (also referred as a siggy) including ads but! You cannot do anything else that violates the community guidelines as, you will be reported and you could be banned/muted.
Computer enthusiast, coder, designer and a offline veteran.
700th post
- dynamicsofscratch
- Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
(#2412)?
should i use linode for the servers to make it run all the time
and how do i use it on turbowarp
i'm sorry but i didn't get you.
are you trying to run your application all the time?
aII toasters toast toast, but what happens when there are no longer toasters being produced? will their technology simply become obsolete, with humans moving onto bigger, better things? will toast become a distant memory, written in textbooks of the future as foods us simpler generations ate? who's to say! society is constantly moving, changing, evolving, ideas being built upon, improved upon, theories being proven or disproven. are we but a blip on the timeline? sure, our names may not be remembered, but that's not the point. you can make a change. you can make a difference. you can make the world better, even if you don't know yet. and the first step is to go for it. even if you are afraid of failure. going back to the example of toasters, do you know off the top of your head who invented them? no? have you used one? probably. so, even if you don't remember my name, if I was able to help awnser your question, that is enough. if I was able to help you, even in the slightest way, this could push you to continue with scratch and not give up after the program crashes, and maybe one day learn other programming languages and change the world. everything is a cause and effect reaction, new inventions lead to the technology of the future, and even as the generations of the past are slowly forgotten, their influence lives on to this day, affecting how the world eventually turned out and how it will be for generations to come.
and, without toasters, we wouldn't have toast.
and, without toasters, we wouldn't have toast.
Regards
dynamicsofscratch
Anything above that grey line is a signature!
Also, anything can be put in your signature, (also referred as a siggy) including ads but! You cannot do anything else that violates the community guidelines as, you will be reported and you could be banned/muted.
Computer enthusiast, coder, designer and a offline veteran.
700th post
- dynamicsofscratch
- Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
(#2411)dowload the file he wants assets from, get the assets from the file and delete the sb3(#2410)I don't think I am following. What are you saying?(#2409)or can download the file, again do the same process and delete the sb3
-snip-
that would be faster and the same thing.
aII toasters toast toast, but what happens when there are no longer toasters being produced? will their technology simply become obsolete, with humans moving onto bigger, better things? will toast become a distant memory, written in textbooks of the future as foods us simpler generations ate? who's to say! society is constantly moving, changing, evolving, ideas being built upon, improved upon, theories being proven or disproven. are we but a blip on the timeline? sure, our names may not be remembered, but that's not the point. you can make a change. you can make a difference. you can make the world better, even if you don't know yet. and the first step is to go for it. even if you are afraid of failure. going back to the example of toasters, do you know off the top of your head who invented them? no? have you used one? probably. so, even if you don't remember my name, if I was able to help awnser your question, that is enough. if I was able to help you, even in the slightest way, this could push you to continue with scratch and not give up after the program crashes, and maybe one day learn other programming languages and change the world. everything is a cause and effect reaction, new inventions lead to the technology of the future, and even as the generations of the past are slowly forgotten, their influence lives on to this day, affecting how the world eventually turned out and how it will be for generations to come.
and, without toasters, we wouldn't have toast.
and, without toasters, we wouldn't have toast.
Regards
dynamicsofscratch
Anything above that grey line is a signature!
Also, anything can be put in your signature, (also referred as a siggy) including ads but! You cannot do anything else that violates the community guidelines as, you will be reported and you could be banned/muted.
Computer enthusiast, coder, designer and a offline veteran.
700th post
- -unrelated-
- Scratcher
60 posts
scratchattach - A Scratch API wrapper (Python)
he is trying to download the sb3(#2411)dowload the file he wants assets from, get the assets from the file and delete the sb3(#2410)I don't think I am following. What are you saying?(#2409)or can download the file, again do the same process and delete the sb3
-snip-
that would be faster and the same thing.
<!DOCTYPE html>
- dynamicsofscratch
- Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
(#2418)i think he understood me but didn't reply or checkhe is trying to download the sb3(#2411)dowload the file he wants assets from, get the assets from the file and delete the sb3(#2410)I don't think I am following. What are you saying?(#2409)or can download the file, again do the same process and delete the sb3
-snip-
that would be faster and the same thing.
aII toasters toast toast, but what happens when there are no longer toasters being produced? will their technology simply become obsolete, with humans moving onto bigger, better things? will toast become a distant memory, written in textbooks of the future as foods us simpler generations ate? who's to say! society is constantly moving, changing, evolving, ideas being built upon, improved upon, theories being proven or disproven. are we but a blip on the timeline? sure, our names may not be remembered, but that's not the point. you can make a change. you can make a difference. you can make the world better, even if you don't know yet. and the first step is to go for it. even if you are afraid of failure. going back to the example of toasters, do you know off the top of your head who invented them? no? have you used one? probably. so, even if you don't remember my name, if I was able to help awnser your question, that is enough. if I was able to help you, even in the slightest way, this could push you to continue with scratch and not give up after the program crashes, and maybe one day learn other programming languages and change the world. everything is a cause and effect reaction, new inventions lead to the technology of the future, and even as the generations of the past are slowly forgotten, their influence lives on to this day, affecting how the world eventually turned out and how it will be for generations to come.
and, without toasters, we wouldn't have toast.
and, without toasters, we wouldn't have toast.
Regards
dynamicsofscratch
Anything above that grey line is a signature!
Also, anything can be put in your signature, (also referred as a siggy) including ads but! You cannot do anything else that violates the community guidelines as, you will be reported and you could be banned/muted.
Computer enthusiast, coder, designer and a offline veteran.
700th post
- TheCommCraft
- Scratcher
500+ posts
scratchattach - A Scratch API wrapper (Python)
he actually used my solution(#2418)i think he understood me but didn't reply or checkhe is trying to download the sb3(#2411)dowload the file he wants assets from, get the assets from the file and delete the sb3(#2410)I don't think I am following. What are you saying?(#2409)or can download the file, again do the same process and delete the sb3
-snip-
that would be faster and the same thing.
- -ProXeeI
- Scratcher
16 posts
scratchattach - A Scratch API wrapper (Python)
It's so slow
user.is_following(“scratcher”)
user.is_followed_by(“scratcher”)
Last edited by -ProXeeI (April 28, 2024 11:56:55)
- ScratchcatandGobo
- Scratcher
1000+ posts
scratchattach - A Scratch API wrapper (Python)
Is there any ways to check if a user does or does not exist?
amoungus
- infintyrussia
- Scratcher
100+ posts
scratchattach - A Scratch API wrapper (Python)
Try this: Is there any ways to check if a user does or does not exist?
https://api.scratch.mit.edu/accounts/checkusername/USERNAME_HERE