Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Studio #277

Closed
SpyC0der77 opened this issue Nov 9, 2024 · 15 comments
Closed

Create Studio #277

SpyC0der77 opened this issue Nov 9, 2024 · 15 comments
Labels
enhancement New feature or request

Comments

@SpyC0der77
Copy link

Is there any way to create a studio using the python? That might have to be a part of scratchlenium or whatever it was called

@TimMcCool TimMcCool added enhancement New feature or request announcement and removed announcement labels Nov 9, 2024
@FAReTek1
Copy link
Contributor

FAReTek1 commented Nov 9, 2024

i'll take a look. The selenium branch is called sa-selenium

@FAReTek1
Copy link
Contributor

FAReTek1 commented Nov 9, 2024

yeah, the url is https://scratch.mit.edu/studios/create/. I'll make a function for it then make a pr

@SpyC0der77
Copy link
Author

network tab coming in clutch :)

@FAReTek1
Copy link
Contributor

FAReTek1 commented Nov 9, 2024

hmm. chrome isnt telling me about any payload. also, whenever i try to make a request, it spits back a non-200 status code.

@FAReTek1
Copy link
Contributor

FAReTek1 commented Nov 9, 2024

oops, looks like the account i was using to try and make a studio, causing issues. Should make an error for that

@SpyC0der77
Copy link
Author

i don't think there should be a payload. just cookies and headers. because it is just supposed to create one with no name or contributers

@FAReTek1
Copy link
Contributor

FAReTek1 commented Nov 9, 2024

lmao, yeah it works now, i was using the wrong account lol

@FAReTek1
Copy link
Contributor

FAReTek1 commented Nov 9, 2024

i don't think there should be a payload. just cookies and headers. because it is just supposed to create one with no name or contributers

yeah that's what i thought, but when i was getting errors i didnt know what else could possibly cause issues

@FAReTek1
Copy link
Contributor

FAReTek1 commented Nov 9, 2024

ill make options to set title etc so you only need to make 1 function call. I'll also add a check for new scratchers

@FAReTek1
Copy link
Contributor

FAReTek1 commented Nov 9, 2024

yep, done! I'll test it, then make a pr

@FAReTek1
Copy link
Contributor

FAReTek1 commented Nov 9, 2024

there should be a rate limit on it like session.create project

@SpyC0der77
Copy link
Author

yeah

@SpyC0der77
Copy link
Author

SpyC0der77 commented Nov 9, 2024 via email

@FAReTek1
Copy link
Contributor

FAReTek1 commented Nov 9, 2024

I will make the pr i guess now. also found a typo in cloud_requests so i fixed it

@FAReTek1
Copy link
Contributor

FAReTek1 commented Nov 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants