Discuss Scratch

Steve0Greatness
Scratcher
1000+ posts

is there way to get more than 20 projects with the Scratch API?

I don't know if it's just my browser, but the Scratch api doesn't seem to show more than 20 projects made by a user. Is there a way to find more projects someone made using an api?

/hj is the worst tone indicator. It's confusing and ambiguous. I hate it. The point of tone indicators is to indicate tone, or the way that a piece of text should be read, but what does “half joking” mean? Do you just wake up in the morning and think “wow, I really have something I want to talk about seriously but also kinda not, IDK you decide.” It's useless. I hate it. It just provokes a deep rooted anger within me whenever I see it. People just comment /hj as if it makes any sense. It doesn't. Oh wow, it's a tone indicator that's has a relative meaning, how useful, I'll use it in every comment I post. NO. STOP IT. You're a tone indicator, you have only one job, and yet you sit there doing nothing apart angering me.

/srs

^^^ (there's more below)
This one is useful because it tells you that this signature is fully 100% serious. (/srs) Who would've thought that tone indicators needed to tell you something about the piece of text they're attached to? /s

I'm serious, I'm not even going to put multiple (/hj)s a the end of my signature as to mock the previous paragraph for not getting the point of something(like previous version of my signature). /srs
Ciyob86
Scratcher
500+ posts

is there way to get more than 20 projects with the Scratch API?

?limit=99999999
Steve0Greatness
Scratcher
1000+ posts

is there way to get more than 20 projects with the Scratch API?

Ciyob86 wrote:

?limit=99999999
it only seems to go up to 40 for me: https://api.scratch.mit.edu/users/Steve0Greatness/projects/?limit=40
is there something I'm doing wrong?

/hj is the worst tone indicator. It's confusing and ambiguous. I hate it. The point of tone indicators is to indicate tone, or the way that a piece of text should be read, but what does “half joking” mean? Do you just wake up in the morning and think “wow, I really have something I want to talk about seriously but also kinda not, IDK you decide.” It's useless. I hate it. It just provokes a deep rooted anger within me whenever I see it. People just comment /hj as if it makes any sense. It doesn't. Oh wow, it's a tone indicator that's has a relative meaning, how useful, I'll use it in every comment I post. NO. STOP IT. You're a tone indicator, you have only one job, and yet you sit there doing nothing apart angering me.

/srs

^^^ (there's more below)
This one is useful because it tells you that this signature is fully 100% serious. (/srs) Who would've thought that tone indicators needed to tell you something about the piece of text they're attached to? /s

I'm serious, I'm not even going to put multiple (/hj)s a the end of my signature as to mock the previous paragraph for not getting the point of something(like previous version of my signature). /srs
ScolderCreations
Scratcher
1000+ posts

is there way to get more than 20 projects with the Scratch API?

Basically, grab 40 projects, wait a little bit, and then grab 40 more, but with the offset parameter set to 40 x the times you've previously grabbed the projects.

Chiroyce
Scratcher
1000+ posts

is there way to get more than 20 projects with the Scratch API?

Steve0Greatness wrote:

is there something I'm doing wrong?
Nope, just a limit. You have to fetch it in batches of 40, and increment the offset by 40 everytime you get it.

ScolderCreations wrote:

40 x the times you've previously grabbed the projects.
Isn't it 40 + the old offset?







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

Powered by DjangoBB