Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Scratch APIs
- ChocolatePi
-
1000+ posts
Scratch APIs
Yeah, but I was confused at first so I figured that maybe other people would be.That's true for all pagination-based APIs, yes?Note that if you need to collect them all, you have to loop through the number until you get a 404. Get list of followers and following for a user
https://scratch.mit.edu/studios/addfrom/followers/<user>/1/
https://scratch.mit.edu/studios/addfrom/following/<user>/1/
- Rumanti
-
1000+ posts
Scratch APIs
Hmm. Interesting. If they lists Scratchers' followers and followings, why are they subpages of /studios/ ? Get list of followers and following for a user
https://scratch.mit.edu/studios/addfrom/followers/<user>/1/
https://scratch.mit.edu/studios/addfrom/following/<user>/1/
Last edited by Rumanti (April 28, 2015 02:06:51)
:wq
- MegaApuTurkUltra
-
1000+ posts
Scratch APIs
Cause they're ajaxed for the add curators page.Hmm. Interesting. If they lists Scratchers' followers and followings, why are they subpages of /studios/ ? Get list of followers and following for a user
https://scratch.mit.edu/studios/addfrom/followers/<user>/1/
https://scratch.mit.edu/studios/addfrom/following/<user>/1/
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- Rumanti
-
1000+ posts
Scratch APIs
That explains me what the “Add” links are doing there.Cause they're ajaxed for the add curators page.Hmm. Interesting. If they lists Scratchers' followers and followings, why are they subpages of /studios/ ? Get list of followers and following for a user
https://scratch.mit.edu/studios/addfrom/followers/<user>/1/
https://scratch.mit.edu/studios/addfrom/following/<user>/1/
:wq
- Superdoggy
-
1000+ posts
Scratch APIs
Found this one while poking around:
https://scratch.mit.edu/external/blog/api/read/json/?callback=%22displayPosts%22
You can also add this “&num=X” to it to limit it to a specific number of posts, X being the number of posts.
https://scratch.mit.edu/external/blog/api/read/json/?callback=%22displayPosts%22
You can also add this “&num=X” to it to limit it to a specific number of posts, X being the number of posts.
https://scratch.mit.edu/external/blog/api/read/json/?callback=%22displayPosts%22&num=1
- liam48D
-
1000+ posts
Scratch APIs
Is it bad if I semi-bump up this because I have a new piece of info?

https://scratch.mit.edu/statistics/data/daily/

202e-202e-202e-202e-202e UNI-CODE~~~~~
- Rumanti
-
1000+ posts
Scratch APIs
@liam48D: Noooo that API is going to be very useful, I loooove it! <3 I can spy on Scratch for a school project!
:wq
- Zaidhaan
-
100+ posts
Scratch APIs
ninja'd.. ( Is it bad if I semi-bump up this because I have a new piece of info?https://scratch.mit.edu/discuss/topic/96414/?page=4#p960114)https://scratch.mit.edu/statistics/data/daily/
- PullJosh
-
1000+ posts
Scratch APIs
Here's another: https://scratch.mit.edu/projects/68827258/remixtree/bare/
(Thanks to liam48D for that one.)
(Thanks to liam48D for that one.)
Last edited by PullJosh (July 28, 2015 14:24:27)
- liam48D
-
1000+ posts
Scratch APIs
https://scratch.mit.edu/projects/68827258/remixtree/bare/I saw this bumped up to the top of the forums, so I came here, and while it was loading, I was like, “Hey, I should go suggest the remix tree one.” And of course that's what you were suggesting. lol Here's another:
(Thanks to liam48D for that one.)
xD
202e-202e-202e-202e-202e UNI-CODE~~~~~
- iamunknown2
-
1000+ posts
Scratch APIs
BUMP.
| My website | Using Geany | A Christian | Running Ubuntu MATE 14.04 with Flash 18.0 (release 0) | Search this with quotation marks on Google to view my posts: “ellipsepostpianolizard” (some posts may not show up) |
Moving on from Scratch? Learn Python/a scripting language (e.g Perl, JavaScript), then move on to a C derivative
Moving on from Scratch? Learn Python/a scripting language (e.g Perl, JavaScript), then move on to a C derivative
- liam48D
-
1000+ posts
Scratch APIs
This might have to do with the Scratch News:
https://scratch.mit.edu/external/blog/api/read/json/?callback=%22displayPosts%22&num=3&_=1445766999472
202e-202e-202e-202e-202e UNI-CODE~~~~~
- site-api
-
2 posts
Scratch APIs
https://scratch.mit.edu/site-api/projects/all/XXXXX/share/
Shares a project
Shares a project
- WooHooBoy
-
1000+ posts
Scratch APIs
https://scratch.mit.edu/site-api/projects/all/XXXXX/share/You had to make a new account to do that?
Shares a project
considered harmful
- liam48D
-
1000+ posts
Scratch APIs
Totally.https://scratch.mit.edu/site-api/projects/all/XXXXX/share/You had to make a new account to do that?
Shares a project
202e-202e-202e-202e-202e UNI-CODE~~~~~
- MegaApuTurkUltra
-
1000+ posts
Scratch APIs
^https://scratch.mit.edu/site-api/projects/all/XXXXX/share/You had to make a new account to do that?
Shares a project
$(".box-head")[0].textContent = "committing AT crimes since $whenever"
- WooHooBoy
-
1000+ posts
Scratch APIs
Oh my, there's @siteapi too now^https://scratch.mit.edu/site-api/projects/all/XXXXX/share/You had to make a new account to do that?
Shares a project
considered harmful
- Rumanti
-
1000+ posts
Scratch APIs
Why @siteapi? Dun dun.. The directory name is site-api 

:wq
- thisandagain
-
500+ posts
Scratch APIs
Nice! There are a few more that aren't documented, but as an FYI the “site-api” endpoints are all deprecated as of today. The new site architecture uses a totally isolated API cluster that you can preview here:
https://api-staging.scratch.mit.edu/
https://api-staging.scratch.mit.edu/news?limit=2
https://api-staging.scratch.mit.edu/news?limit=2&offset=2
etc. etc.
We'll be publishing an API guide once we get a little further along. Just let me know if you have any questions.
https://api-staging.scratch.mit.edu/
https://api-staging.scratch.mit.edu/news?limit=2
https://api-staging.scratch.mit.edu/news?limit=2&offset=2
etc. etc.
We'll be publishing an API guide once we get a little further along. Just let me know if you have any questions.
Last edited by thisandagain (Oct. 27, 2015 00:37:31)