Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » scratchattach - A Scratch API wrapper (Python)
- coolcoder1213
-
100+ posts
scratchattach - A Scratch API wrapper (Python)
Cool library.
Last edited by coolcoder1213 (May 14, 2022 18:12:47)
- YOSHIPAUL11
-
67 posts
scratchattach - A Scratch API wrapper (Python)
That.s a good question! Is this how Blocky was created?
Also, check out s2py, it has a cloud database feature. Maybe use that.
- SansStudios
-
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-
-
100+ posts
scratchattach - A Scratch API wrapper (Python)
replit uses shared ip's which is the reason that happensafaik scratch doesn't like requests coming from replit. i don't know though, i don't use replit.It doesn't 100% mean it is your fault. Maybe replit server has some problems… OR your computer needs a restart. If replit shuts down, you're most likely using it wrongly
- -wolfs
-
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
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
-
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
-
500+ posts
scratchattach - A Scratch API wrapper (Python)
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 Is this how Blocky was created?
Also, check out s2py, it has a cloud database feature. Maybe use that.
- Marc92020
-
1000+ posts
scratchattach - A Scratch API wrapper (Python)
pip doesnt exist is windows
help
help
- ScratchTheCoder12345
-
500+ posts
scratchattach - A Scratch API wrapper (Python)
Wait what- pip doesnt exist is windows
help
Oh here https://phoenixnap.com/kb/install-pip-windows hope that helps
Last edited by ScratchTheCoder12345 (May 15, 2022 02:44:09)
- PoIygon
-
1000+ posts
scratchattach - A Scratch API wrapper (Python)
Because you don’t have python installed pip doesnt exist is windows
help
- MagicCrayon9342
-
1000+ posts
scratchattach - A Scratch API wrapper (Python)
You have to install python. pip doesnt exist is windowsDirect download, just run the file directly in your browser and install.
help
- YOSHIPAUL11
-
67 posts
scratchattach - A Scratch API wrapper (Python)
No Blocky's not the best games on Scratch there is still… AMONGUS (Among us trap in background Blocky is probably the most futuristic game on Scratch, and I think it beat Griffpatch's games.
- scratchyjimjam
-
90 posts
scratchattach - A Scratch API wrapper (Python)
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
-
10 posts
scratchattach - A Scratch API wrapper (Python)
it's not Scratch day in my country
- CodeMaat
-
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]
- kccuber
-
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
-
100+ 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.
Many people use Node.JS for cloud interactions.