Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » scratchclient - A scratch API wrapper for python
- Chiroyce
-
1000+ posts
scratchclient - A scratch API wrapper for python
pip3 install requests
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
- Maximouse
-
1000+ posts
scratchclient - A scratch API wrapper for python
This should behave exactly the same as typing “pip install scratchclient” into the terminal. The issue might be that kccuber isn't trying to run the command in the right place.help. i keep getting a syntaxerror every time i try installing this package. maybe it's an issue with my python install becausedidn't work eitherpip install requests(src)import os os.system('pip install scratchclient')
- Chiroyce
-
1000+ posts
scratchclient - A scratch API wrapper for python
Yep, @kccuber open up command prompt and run this This should behave exactly the same as typing “pip install scratchclient” into the terminal. The issue might be that kccuber isn't trying to run the command in the right place.
pip install scratchclient
pip3 install scratchclient
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
- NFlex23
-
1000+ posts
scratchclient - A scratch API wrapper for python



Sorry if I'm too serious sounding on the forums. I don't usually realize it until I've already posted.

My personal stickies:
Sticky: Aviate: create dynamic, component driven statuses on the fly (aviateapp.eu.org) by NFlex23 (New Posts)
Sticky: Scratch Tutorials — share your knowledge or learn something new with Scratchers worldwide by NFlex23 (New Posts)
- Chiroyce
-
1000+ posts
scratchclient - A scratch API wrapper for python
share() method of session.get_project(id)? It could never be called since the ID would appear to be invalid.hmm… but since we're logged in it may work What's the point of the
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
- NFlex23
-
1000+ posts
scratchclient - A scratch API wrapper for python
session.get_project(id).set_title("Text")
Last edited by NFlex23 (June 27, 2021 14:30:55)



Sorry if I'm too serious sounding on the forums. I don't usually realize it until I've already posted.

My personal stickies:
Sticky: Aviate: create dynamic, component driven statuses on the fly (aviateapp.eu.org) by NFlex23 (New Posts)
Sticky: Scratch Tutorials — share your knowledge or learn something new with Scratchers worldwide by NFlex23 (New Posts)
- NFlex23
-
1000+ posts
scratchclient - A scratch API wrapper for python
share() method of session.get_project(id)? It could never be called since the ID would appear to be invalid.hmm… but since we're logged in it may work What's the point of the
It doesn't work for me..



Sorry if I'm too serious sounding on the forums. I don't usually realize it until I've already posted.

My personal stickies:
Sticky: Aviate: create dynamic, component driven statuses on the fly (aviateapp.eu.org) by NFlex23 (New Posts)
Sticky: Scratch Tutorials — share your knowledge or learn something new with Scratchers worldwide by NFlex23 (New Posts)
- NFlex23
-
1000+ posts
scratchclient - A scratch API wrapper for python
session.get_user("NFlex23").profile.set_status("This text was made with ScratchClient")



Sorry if I'm too serious sounding on the forums. I don't usually realize it until I've already posted.

My personal stickies:
Sticky: Aviate: create dynamic, component driven statuses on the fly (aviateapp.eu.org) by NFlex23 (New Posts)
Sticky: Scratch Tutorials — share your knowledge or learn something new with Scratchers worldwide by NFlex23 (New Posts)
- Touchcreator
-
500+ posts
scratchclient - A scratch API wrapper for python
Press crtl+shift+down after highlighting part of my siggy, or install a scrollbar siggy extension to see more.
See this project! It's 3d models in Scratch! (For real this time) 500 posts!
http://internetometer.com/image/48189.png
Also,


- ScratchCatHELLO
-
1000+ posts
scratchclient - A scratch API wrapper for python
my code wont even run, i can only type in console
…clarify?


ScratchCatHELLO
I have 5600+ posts, I've been on scratch for 5 1/2 years, I'm a Forum Helper™ and I have a Scratch Wiki account!
I like: Python, CSS, Javascript, Rust
Python 3 Text Adventure
cool new browser game - cursed laughing-crying emoji - Illuminati - you know waterbenders, but do you know stock-imagebenders? - snek - vibin' - Bump song (vevo) - Speed bump - yee - fred - m i c k e y
- Chiroyce
-
1000+ posts
scratchclient - A scratch API wrapper for python
save the file with the extension of .py, for example - my code wont even run, i can only type in console
main.py
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
- ScratchCatHELLO
-
1000+ posts
scratchclient - A scratch API wrapper for python
try help. i keep getting a syntaxerror every time i try installing this package. maybe it's an issue with my python install becausedidn't work eitherpip install requestspy -m pip install requests
py?!


ScratchCatHELLO
I have 5600+ posts, I've been on scratch for 5 1/2 years, I'm a Forum Helper™ and I have a Scratch Wiki account!
I like: Python, CSS, Javascript, Rust
Python 3 Text Adventure
cool new browser game - cursed laughing-crying emoji - Illuminati - you know waterbenders, but do you know stock-imagebenders? - snek - vibin' - Bump song (vevo) - Speed bump - yee - fred - m i c k e y
- ScratchCatHELLO
-
1000+ posts
scratchclient - A scratch API wrapper for python
save the file with the extension of .py, for example - my code wont even run, i can only type in consolethen double click on the file in file explorer / findermain.py
I think you have to run them via terminal or command prompt


ScratchCatHELLO
I have 5600+ posts, I've been on scratch for 5 1/2 years, I'm a Forum Helper™ and I have a Scratch Wiki account!
I like: Python, CSS, Javascript, Rust
Python 3 Text Adventure
cool new browser game - cursed laughing-crying emoji - Illuminati - you know waterbenders, but do you know stock-imagebenders? - snek - vibin' - Bump song (vevo) - Speed bump - yee - fred - m i c k e y
- Maximouse
-
1000+ posts
scratchclient - A scratch API wrapper for python
On Windows py is the “Python Launcher” that can be used even if Python is not in the PATH. py?!
- Chiroyce
-
1000+ posts
scratchclient - A scratch API wrapper for python
yeah do this then I think you have to run them via terminal or command prompt
cd {folder_path_for_file}
python {FILENAME}.py
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
- JackK211424
-
500+ posts
scratchclient - A scratch API wrapper for python
(Oh the joys of when you spend hours trying to figure something out and you just have to take 30 seconds to fix the issue in the end)

- JackK211424
-
500+ posts
scratchclient - A scratch API wrapper for python
With the set event variable.value is “☁ varName”
With the set_cloud_variable function the variable name can be “☁ varName” or “varName”

- Raihan142857
-
1000+ posts
scratchclient - A scratch API wrapper for python
Why is that strange behavior? That's intentional. I found what I think is kinda a strange behavior.
With the set event variable.value is “☁ varName”
With the set_cloud_variable function the variable name can be “☁ varName” or “varName”
I use scratch.
GF: I'll dump you. BF: hex dump or binary dump?





















- ScratchCatHELLO
-
1000+ posts
scratchclient - A scratch API wrapper for python
I found what I think is kinda a strange behavior.
With the set event variable.value is “☁ varName”
With the set_cloud_variable function the variable name can be “☁ varName” or “varName”
this makes sense. I wouldn't want to have the ☁ symbol copied constantly


ScratchCatHELLO
I have 5600+ posts, I've been on scratch for 5 1/2 years, I'm a Forum Helper™ and I have a Scratch Wiki account!
I like: Python, CSS, Javascript, Rust
Python 3 Text Adventure
cool new browser game - cursed laughing-crying emoji - Illuminati - you know waterbenders, but do you know stock-imagebenders? - snek - vibin' - Bump song (vevo) - Speed bump - yee - fred - m i c k e y
- Discussion Forums
- » Advanced Topics
-
» scratchclient - A scratch API wrapper for python