Discuss Scratch

Him_is_bob
Scratcher
71 posts

scratchattach - A Scratch API wrapper (Python)

TheCommCraft wrote:

Him_is_bob wrote:

(#2400)

TheCommCraft wrote:

Him_is_bob wrote:

(#2398)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2396)
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
were doing what now?
getting the whole project file. I understand I may need requests of my own
maybe try selenium or zipfile
how would one get the sb3 from scratch
selenium would emulate a browser to get it and zipfile would directly recreate the file format
hmm maybe i guessi dont need to integrate the vm yet

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)

Him_is_bob wrote:

(#2398)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2396)
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
were doing what now?
getting the whole project file. I understand I may need requests of my own
so like download it, get assets and yeet the sb3?

Last edited by dynamicsofscratch (April 25, 2024 07:42:34)


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.


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
Him_is_bob
Scratcher
71 posts

scratchattach - A Scratch API wrapper (Python)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2398)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2396)
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
were doing what now?
getting the whole project file. I understand I may need requests of my own
so like download it, get assets and yeet the sb3?
yea

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)

Him_is_bob wrote:

(#2402)

TheCommCraft wrote:

Him_is_bob wrote:

(#2400)

TheCommCraft wrote:

Him_is_bob wrote:

(#2398)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2396)
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
were doing what now?
getting the whole project file. I understand I may need requests of my own
maybe try selenium or zipfile
how would one get the sb3 from scratch
selenium would emulate a browser to get it and zipfile would directly recreate the file format
hmm maybe i guessi dont need to integrate the vm yet
This should work: https://github.com/TheCommCraft/utils/blob/main/sb3download.py

Random Project

spamton.gif





























DUNGEON_EXPLORATION_03_02_23_01
COMPILED VERSION FOR HIGHER SPEED
Him_is_bob
Scratcher
71 posts

scratchattach - A Scratch API wrapper (Python)

TheCommCraft wrote:

Him_is_bob wrote:

(#2402)

TheCommCraft wrote:

Him_is_bob wrote:

(#2400)

TheCommCraft wrote:

Him_is_bob wrote:

(#2398)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2396)
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
were doing what now?
getting the whole project file. I understand I may need requests of my own
maybe try selenium or zipfile
how would one get the sb3 from scratch
selenium would emulate a browser to get it and zipfile would directly recreate the file format
hmm maybe i guessi dont need to integrate the vm yet
This should work: https://github.com/TheCommCraft/utils/blob/main/sb3download.py
thx!

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)

TheCommCraft wrote:

Him_is_bob wrote:

(#2402)

TheCommCraft wrote:

Him_is_bob wrote:

(#2400)

TheCommCraft wrote:

Him_is_bob wrote:

(#2398)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2396)
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
were doing what now?
getting the whole project file. I understand I may need requests of my own
maybe try selenium or zipfile
how would one get the sb3 from scratch
selenium would emulate a browser to get it and zipfile would directly recreate the file format
hmm maybe i guessi dont need to integrate the vm yet
This should work: https://github.com/TheCommCraft/utils/blob/main/sb3download.py
getting an error on line 4 though

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)

Him_is_bob wrote:

(#2404)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2398)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2396)
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
were doing what now?
getting the whole project file. I understand I may need requests of my own
so like download it, get assets and yeet the sb3?
yea
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.

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.


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
58 posts

scratchattach - A Scratch API wrapper (Python)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2404)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2398)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2396)
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
were doing what now?
getting the whole project file. I understand I may need requests of my own
so like download it, get assets and yeet the sb3?
yea
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.
Using selenium would be possible but not very fast

<!DOCTYPE html>
dynamicsofscratch
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

-unrelated- wrote:

(#2409)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2404)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2398)

dynamicsofscratch wrote:

Him_is_bob wrote:

(#2396)
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
were doing what now?
getting the whole project file. I understand I may need requests of my own
so like download it, get assets and yeet the sb3?
yea
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.
Using selenium would be possible but not very fast
or can download the file, again do the same process and delete the sb3
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.


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)

dynamicsofscratch wrote:

(#2410)

-unrelated- wrote:

(#2409)
-snip-
or can download the file, again do the same process and delete the sb3
that would be faster and the same thing.
I don't think I am following. What are you saying?

Last edited by TheCommCraft (April 26, 2024 19:34:46)


Random Project

spamton.gif





























DUNGEON_EXPLORATION_03_02_23_01
COMPILED VERSION FOR HIGHER SPEED
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
ShadowMilo
Scratcher
13 posts

scratchattach - A Scratch API wrapper (Python)

FishHoue wrote:

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.
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)
nexoalex
Scratcher
79 posts

scratchattach - A Scratch API wrapper (Python)

FishHoue wrote:

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.
bro just run python in command prompt and it shows u the Microsoft store version that doesn't use admin
dynamicsofscratch
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

nexoalex wrote:

(#2414)

FishHoue wrote:

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.
bro just run python in command prompt and it shows u the Microsoft store version that doesn't use admin
he ended up ditching using python altogether, so yeah please stop commenting on this issue.

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.


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)

nexoalex wrote:

(#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.


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)

TheCommCraft wrote:

(#2411)

dynamicsofscratch wrote:

(#2410)

-unrelated- wrote:

(#2409)
-snip-
or can download the file, again do the same process and delete the sb3
that would be faster and the same thing.
I don't think I am following. What are you saying?
dowload the file he wants assets from, get the assets from the file and delete the sb3

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.


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
58 posts

scratchattach - A Scratch API wrapper (Python)

dynamicsofscratch wrote:

TheCommCraft wrote:

(#2411)

dynamicsofscratch wrote:

(#2410)

-unrelated- wrote:

(#2409)
-snip-
or can download the file, again do the same process and delete the sb3
that would be faster and the same thing.
I don't think I am following. What are you saying?
dowload the file he wants assets from, get the assets from the file and delete the sb3
he is trying to download the sb3

<!DOCTYPE html>
dynamicsofscratch
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

-unrelated- wrote:

(#2418)

dynamicsofscratch wrote:

TheCommCraft wrote:

(#2411)

dynamicsofscratch wrote:

(#2410)

-unrelated- wrote:

(#2409)
-snip-
or can download the file, again do the same process and delete the sb3
that would be faster and the same thing.
I don't think I am following. What are you saying?
dowload the file he wants assets from, get the assets from the file and delete the sb3
he is trying to download the sb3
i think he understood me but didn't reply or check

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.


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)

dynamicsofscratch wrote:

-unrelated- wrote:

(#2418)

dynamicsofscratch wrote:

TheCommCraft wrote:

(#2411)

dynamicsofscratch wrote:

(#2410)

-unrelated- wrote:

(#2409)
-snip-
or can download the file, again do the same process and delete the sb3
that would be faster and the same thing.
I don't think I am following. What are you saying?
dowload the file he wants assets from, get the assets from the file and delete the sb3
he is trying to download the sb3
i think he understood me but didn't reply or check
he actually used my solution

Random Project

spamton.gif





























DUNGEON_EXPLORATION_03_02_23_01
COMPILED VERSION FOR HIGHER SPEED
-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)

Powered by DjangoBB