Discuss Scratch

coolcoder1213
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

Cool library.

Last edited by coolcoder1213 (May 14, 2022 18:12:47)

YOSHIPAUL11
Scratcher
67 posts

scratchattach - A Scratch API wrapper (Python)

coolcoder1213 wrote:

Is this how Blocky was created?

Also, check out s2py, it has a cloud database feature. Maybe use that.
That.s a good question!
SansStudios
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

[removed, didn't see above posts]

Last edited by SansStudios (May 14, 2022 19:29:53)

-FreeEngines-
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

Socialix wrote:

youhan_school wrote:

-FreeEngines- wrote:

If replit shuts down, you're most likely using it wrongly
It doesn't 100% mean it is your fault. Maybe replit server has some problems… OR your computer needs a restart.
afaik scratch doesn't like requests coming from replit. i don't know though, i don't use replit.
replit uses shared ip's which is the reason that happens
-wolfs
Scratcher
6 posts

scratchattach - A Scratch API wrapper (Python)

project.id #Returns the project id
project.url #Returns the project url
project.author #Returns the username of the author
project.comments_allowed #Returns True if comments are enabled
project.instructions
project.notes #Returns the ‘Notes and Credits’ section
project.created #Returns the date of the project creation
project.last_modified #Returns the date when the project was modified the last time
project.share_date
project.thumbnail_url
project.remix_parent
project.remix_root
project.loves #Returns the love count
project.favorite s #Returns the project's favorite count
project.remix_count #Returns the number of remixes
project.views #Returns the view count
# —– —– #

I just copy paste it why
ScratchTheCoder12345
Scratcher
500+ posts

scratchattach - A Scratch API wrapper (Python)

Anyone here use Python as their main coding language? Python is mine and I love it but I'm wondering if there is a better language out there. I know people are going to say well there is no one best coding language and I agree to this. The best coding language is one that has documentation lol.
ScratchTheCoder12345
Scratcher
500+ posts

scratchattach - A Scratch API wrapper (Python)

coolcoder1213 wrote:

Is this how Blocky was created?

Also, check out s2py, it has a cloud database feature. Maybe use that.
Please do not advertise other API's such as s2py on this fourm. It is designed for Scratchattach. Please do not lead other users to another API in a different API's suggestion
Marc92020
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

pip doesnt exist is windows
help
ScratchTheCoder12345
Scratcher
500+ posts

scratchattach - A Scratch API wrapper (Python)

Marc92020 wrote:

pip doesnt exist is windows
help
Wait what-

Oh here https://phoenixnap.com/kb/install-pip-windows hope that helps

Last edited by ScratchTheCoder12345 (May 15, 2022 02:44:09)

PoIygon
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

Marc92020 wrote:

pip doesnt exist is windows
help
Because you don’t have python installed
MagicCrayon9342
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

Marc92020 wrote:

pip doesnt exist is windows
help
You have to install python. Direct download, just run the file directly in your browser and install.
lemonade789465312
Scratcher
7 posts

scratchattach - A Scratch API wrapper (Python)

hmm
YOSHIPAUL11
Scratcher
67 posts

scratchattach - A Scratch API wrapper (Python)

763200kkdj wrote:

Blocky is probably the most futuristic game on Scratch, and I think it beat Griffpatch's games.
No Blocky's not the best games on Scratch there is still… AMONGUS (Among us trap in background
scratchyjimjam
Scratcher
90 posts

scratchattach - A Scratch API wrapper (Python)

TimMcCool wrote:

scratchyjimjam wrote:

im having an error with this code
import scratchattach as scratch3
import random as r
import time

session = scratch3.login(“scratchyjimjam”, “*********”)
while True:
number = str(r.randint(100,690000000))
project = session.connect_project(number)
print(number)
dijeudhwuidh = project.author

i get this error:
Traceback (most recent call last):
File “C:\Users\scrat\Videos\userfinder.py”, line 10, in <module>
dijeudhwuidh = project.author
AttributeError: ‘PartialProject’ object has no attribute ‘author’

?

You can't get the author of a project that you can't access.

Read this for more information: https://github.com/TimMcCool/scratchattach#unshared-projects–scratch3partialproject

that makes sense.
I'm gonna check if there is a way to ignore errors

Last edited by scratchyjimjam (May 15, 2022 11:25:13)

DuyMinh3005
Scratcher
10 posts

scratchattach - A Scratch API wrapper (Python)

Time zone
DuyMinh3005
Scratcher
10 posts

scratchattach - A Scratch API wrapper (Python)

it's not Scratch day in my country
CodeMaat
Scratcher
13 posts

scratchattach - A Scratch API wrapper (Python)

Wow, this is great! You are a great Scratcher.

when green flag clicked
set [TimMcCool's followers v] to [102037384374308]

CodeMaat
Scratcher
13 posts

scratchattach - A Scratch API wrapper (Python)

I LOVE Blockly
kccuber
Scratcher
1000+ posts

scratchattach - A Scratch API wrapper (Python)

Um… weird issue. I somehow can't use this module in replit. I think it's because replit's network is blocked on scratch, so how do I go around this?
coolcoder1213
Scratcher
100+ posts

scratchattach - A Scratch API wrapper (Python)

ScratchTheCoder12345 wrote:

Anyone here use Python as their main coding language? Python is mine and I love it but I'm wondering if there is a better language out there. I know people are going to say well there is no one best coding language and I agree to this. The best coding language is one that has documentation lol.


Many people use Node.JS for cloud interactions.

Powered by DjangoBB