Discuss Scratch

AAmmmmmmO
Scratcher
4 posts

scratchattach - A Scratch API wrapper (Python)

bruh
youhan_school
Scratcher
41 posts

scratchattach - A Scratch API wrapper (Python)

Joshisaurio wrote:

-FreeEngines- wrote:

Joshisaurio wrote:

Joshisaurio wrote:

How do you even get your session ID?
Why doesn't anyone answer?
sorry answering late, idk if this got answered aready.
when making an post request to https://scratch.mit.edu/login with {username, password} in the request body, the response the server returns contains the session id in the cookie at
caseless.dict // this returns the cookie header which you then have to extract the value from
Thx but how do you get it in Python? I mean I don't get it I only know how to code in Python
See the ref document
youhan_school
Scratcher
41 posts

scratchattach - A Scratch API wrapper (Python)

AAmmmmmmO wrote:

BIG BALLSq=the+rock+meme&rlz=1CAJEUV_enJP953JP954&tbm=isch&source=iu&ictx=1&vet=1&fir=OfIBuxnhNacVDM%252Ctxs0uofZK90upM%252C_%253BfBwBTifDu1HgwM%252CkMvf-WHXY5VMcM%252C_%253BO_yAyDYmUoremM%252CN7l9nFXC0YDPZM%252C_%253BnSHfwRtUGLVAAM%252Cpo_WHJ9n5uYIEM%252C_%253BLsaLeadPUEFTsM%252CX5V0t_lJANnTsM%252C_%253B9H3RZXajaZA7KM%252CcpWJKMxpm96tCM%252C_%253BDVOhMQ61Q_vgLM%252CLyKzML62Kv8JWM%252C_%253BVf-vlx6EGL_9UM%252C8-XdB2BJeHM32M%252C_%253BORkpDXiHbWIE8M%252CpDX0kvthRoHsRM%252C_%253BrOOhgIVE3AdVIM%252CaHsmegIwReEI0M%252C_%253B3sTCwMAyNpTroM%252CXar38-da_iqyKM%252C_%253BPNpS8BADvHjDUM%252CSqmMC2Q4RpTlDM%252C_%253Bs_akJg3txZHerM%252Cpq9JZXebrkI3EM%252C_%253B2ePRFMPbX3CVXM%252CvbomvYsks-SixM%252C_%253B0kZXapEqKsU_wM%252CXUuyQSsKtG1xbM%252C_%253ByyGyN8yjjec5UM%252C03-J0CfuEHRsNM%252C_&usg=AI4_-kSCSmcWbuExb1nNkE49Pa9v4KOL1g&sa=X&ved=2ahUKEwjbh9_bjfr3AhVrxIsBHUuOAVEQ9QF6BAgVEAE&safe=active&ssui=on#imgrc=LsaLeadPUEFTsM&imgdii=pu7_yas33twtzM

Do not spam please.
-wolfs
Scratcher
6 posts

scratchattach - A Scratch API wrapper (Python)

I seee

Wolf god
INDIOUS111
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

-wolfs wrote:

(#395)
I seee
People are still alive on Scratch? It is so late where I am

My Logo Is Below!!!







NL3_Animations
Scratcher
21 posts

scratchattach - A Scratch API wrapper (Python)

i still cannot download it. can it even be downloaded on macos? (m1 chip os12.4)

g, No Flash version detectedgggg]g
-FreeEngines-
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

youhan_school wrote:

Joshisaurio wrote:

-FreeEngines- wrote:

Joshisaurio wrote:

Joshisaurio wrote:

How do you even get your session ID?
Why doesn't anyone answer?
sorry answering late, idk if this got answered aready.
when making an post request to https://scratch.mit.edu/login with {username, password} in the request body, the response the server returns contains the session id in the cookie at
caseless.dict // this returns the cookie header which you then have to extract the value from
Thx but how do you get it in Python? I mean I don't get it I only know how to code in Python
See the ref document
*Didnt see that question to my post.
that is just an explanation of how to do it, if you can't do anything with that, you should try around a bit with the requests module on pip
-FreeEngines-
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

NL3_Animations wrote:

i still cannot download it. can it even be downloaded on macos? (m1 chip os12.4)
it can. but what you are saying is to vague, what are you triyng and what exactly is not working?
NL3_Animations
Scratcher
21 posts

scratchattach - A Scratch API wrapper (Python)

-FreeEngines- wrote:

NL3_Animations wrote:

i still cannot download it. can it even be downloaded on macos? (m1 chip os12.4)
it can. but what you are saying is to vague, what are you triyng and what exactly is not working?
well i downloaded python, brand new, and ran all the scripts shown on GitHub. All it gives me is some numbers, and it won't let me run any other command

g, No Flash version detectedgggg]g
TimMcCool
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

New features in v0.5.0:
- Studios were added to scratchattach: https://github.com/TimMcCool/scratchattach#studios–scratch3studio
- The 3000 character limit for the cloud requests return data was lifted.
- The user.studio_count() and user.studio_following_count() functions were added.

Coming soon:

- Cloud requests for TurboWarp

Last edited by TimMcCool (May 25, 2022 14:05:01)


Developer of scratchattach, the most popular Python Scratch API wrapper
I-Animations-I
Scratcher
30 posts

scratchattach - A Scratch API wrapper (Python)

TimMcCool wrote:

New features in v0.5.0:
- Studios were added to scratchattach: https://github.com/TimMcCool/scratchattach#studios–scratch3studio
- The 3000 character limit for the cloud requests return data was lifted.
- The user.studio_count() and user.studio_following_count() functions were added.

Coming soon:

- Cloud requests for TurboWarp

Hi TimMcCool, I need help, I don't understand how to program with Python and scratchattach
INDIOUS111
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

TimMcCool wrote:

New features in v0.5.0:
- Studios were added to scratchattach: https://github.com/TimMcCool/scratchattach#studios–scratch3studio
- The 3000 character limit for the cloud requests return data was lifted.
- The user.studio_count() and user.studio_following_count() functions were added.

Coming soon:

- Cloud requests for TurboWarp


Cool! This is getting big!

My Logo Is Below!!!







I-Animations-I
Scratcher
30 posts

scratchattach - A Scratch API wrapper (Python)

when green flag clicked
ask [Someone can help me to understand Python?] and wait
if <(answer) = [Yes]> then
say [Thanks]
end

Last edited by I-Animations-I (May 25, 2022 15:38:27)

-IciclePhoenix-
Scratcher
6 posts

scratchattach - A Scratch API wrapper (Python)

gamemaker_02 wrote:

:O
Ikr?
il_GG
Scratcher
31 posts

scratchattach - A Scratch API wrapper (Python)

TimMcCool wrote:

il_GG wrote:

Does anyone know how to change scratch3.User objects into real usernames.

str(scratch3.User)
or
scratch.User.username
will return the username of the user.
it doesn't works writ the str(scratch3.User) i get only a number and whit scratch.User.username on syntax error
I-Animations-I
Scratcher
30 posts

scratchattach - A Scratch API wrapper (Python)

when green flag clicked
ask [Someone can explain to me how to use python?] and wait
if <(answer) = [YES]> then
say [Thanks]
end
I-Animations-I
Scratcher
30 posts

scratchattach - A Scratch API wrapper (Python)

Hi

Last edited by I-Animations-I (May 25, 2022 15:42:00)

bestbrainmason
Scratcher
8 posts

scratchattach - A Scratch API wrapper (Python)

i don't know how to use “pip install” can anyone help me
ScratchcatandGobo
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

bestbrainmason wrote:

i don't know how to use “pip install” can anyone help me
So first you need to install python from here then go to cmd, and type “Pip install” and hit enter

Check out Leo's adventure
I felt like I wanted to develop games on here, so I won't leave! (for now)
(last edited 2/8/24)





























ScratchcatandGobo
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

I-Animations-I wrote:

when green flag clicked
ask [Someone can explain to me how to use python?] and wait
if <(answer) = [YES]> then
say [Thanks]
end
first go here and install python, then learn python (Get a good book, or find a helpfull tutorial online). then wait untill you think you got the hang of it, and learn scratchattach

Check out Leo's adventure
I felt like I wanted to develop games on here, so I won't leave! (for now)
(last edited 2/8/24)





























Powered by DjangoBB