Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Scratch APIs
- Jonathan50
- Scratcher
1000+ posts
Scratch APIs
Rather edit the OP Yes, please
If someone starts a new one I'll link it and close this topic.
Not yet a Knight of the Mu Calculus.
- Firedrake969
- Scratcher
1000+ posts
Scratch APIs
too busy
'17 rickoid
bf97b44a7fbd33db070f6ade2b7dc549
- gtoal
- Scratcher
1000+ posts
Scratch APIs
I
G
It's an ISO-Latin1 top-bit-set character (probably one of the matched quotes) being displayed in a browser that is interpreting text as UTF-8 code points. Change your browser character set to view it or convert to UTF-8 when you read it before it is displayed.https://api-staging.scratch.mit.edu/news?limit=1 use to encode it's results?What character encoding does
I ask because my browser displays it as mostly normal text with some foreign letters, Python refuses to display it, and Node shows a bunch of arrows, hearts, question marks and emoticons.
Hmm… that endpoint is essentially a parser for the Tumblr API. It should be UTF-8 but something looks a little weird. Thanks for letting me know. I'll take a look.
G
- liam48D
- Scratcher
1000+ posts
Scratch APIs
I could write a new one.
Would an empty GH repo's wiki work, or would it be better to directly store the tutorial inside of markdown files in the repo?
Would an empty GH repo's wiki work, or would it be better to directly store the tutorial inside of markdown files in the repo?
202e-202e-202e-202e-202e UNI-CODE~~~~~
- liam48D
- Scratcher
1000+ posts
Scratch APIs
I could write a new one.https://github.com/liam4/scratch-api-unofficial-docs
Would an empty GH repo's wiki work, or would it be better to directly store the tutorial inside of markdown files in the repo?
202e-202e-202e-202e-202e UNI-CODE~~~~~
- Dylan5797
- Scratcher
1000+ posts
Scratch APIs
OK, Here's the long list of mine:
http://cdn.projects.scratch.mit.edu/internalapi/project/:id/get/ - Get Project
https://scratch.mit.edu/projects/:id/remixtree/bare/ - Remix Tree data
Require PUT method:
http://scratch.mit.edu/site-api/users/followers/:user/add/?usernames=:loggedinuser - Follow Someone
http://scratch.mit.edu/site-api/users/followers/:user/remove/?usernames=:loggedinuser
http://scratch.mit.edu/discuss/subscription/topic/:id/add/ - Follow A topic
http://scratch.mit.edu/discuss/subscription/topic/:id/remove/ - Unfollow a topic
https://scratch.mit.edu/site-api/comments/user/:name/add/ - Comment on a user, requires special payload
https://scratch.mit.edu/site-api/comments/projects/:id/add/ - Comment on a project, requires special payload
https://scratch.mit.edu/site-api/comments/gallery/:id/add/ - Comment on a studio, requires special payload
https://scratch.mit.edu/site-api/comments/user/:id/del/ - Delete a comment on your profile, requires special payload
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/invite_curator/?usernames=:user - Invite a curator, when you manage or own a studio
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/remove/?usernames=:user - Deletes a curator/manager, when you manage or own a studio.
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/add/?usernames=:user - Accepts a curator invitation, you have to know the studio id.
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/promote/?usernames=:user - Promotes a curator to manager of a studio, if you are a manager or owner and they are a curator.
- These are now GET methods -
http://scratch.mit.edu/site-api/users/all/:user/ - Certain user data
https://scratch.mit.edu/api/v1/user/:user/ - Other user data
http://scratch.mit.edu/site-api/comments/user/:user/ - User comments
http://scratch.mit.edu/messages/ajax/user-activity/?user=:user&max=:activity_limit - What user is doing
https://scratch.mit.edu/studios/addfrom/followers/:user/:page/ - User followers
https://scratch.mit.edu/studios/addfrom/following/:user/:page/ - User followings
https://scratch.mit.edu/internalapi/swf-settings/ - User SWF settings
https://scratch.mit.edu/fragment/account-nav.json - User account navbar helper url.
https://scratch.mit.edu/site-api/projects/all/ - All the current logged in user's projects.
https://scratch.mit.edu/site-api/messages/friends-activity/ - What's happening.
https://scratch.mit.edu/messages/ajax/get-message-count/ - Your message count
Too much?
http://cdn.projects.scratch.mit.edu/internalapi/project/:id/get/ - Get Project
https://scratch.mit.edu/projects/:id/remixtree/bare/ - Remix Tree data
Require PUT method:
http://scratch.mit.edu/site-api/users/followers/:user/add/?usernames=:loggedinuser - Follow Someone
http://scratch.mit.edu/site-api/users/followers/:user/remove/?usernames=:loggedinuser
http://scratch.mit.edu/discuss/subscription/topic/:id/add/ - Follow A topic
http://scratch.mit.edu/discuss/subscription/topic/:id/remove/ - Unfollow a topic
https://scratch.mit.edu/site-api/comments/user/:name/add/ - Comment on a user, requires special payload
https://scratch.mit.edu/site-api/comments/projects/:id/add/ - Comment on a project, requires special payload
https://scratch.mit.edu/site-api/comments/gallery/:id/add/ - Comment on a studio, requires special payload
https://scratch.mit.edu/site-api/comments/user/:id/del/ - Delete a comment on your profile, requires special payload
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/invite_curator/?usernames=:user - Invite a curator, when you manage or own a studio
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/remove/?usernames=:user - Deletes a curator/manager, when you manage or own a studio.
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/add/?usernames=:user - Accepts a curator invitation, you have to know the studio id.
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/promote/?usernames=:user - Promotes a curator to manager of a studio, if you are a manager or owner and they are a curator.
- These are now GET methods -
http://scratch.mit.edu/site-api/users/all/:user/ - Certain user data
https://scratch.mit.edu/api/v1/user/:user/ - Other user data
http://scratch.mit.edu/site-api/comments/user/:user/ - User comments
http://scratch.mit.edu/messages/ajax/user-activity/?user=:user&max=:activity_limit - What user is doing
https://scratch.mit.edu/studios/addfrom/followers/:user/:page/ - User followers
https://scratch.mit.edu/studios/addfrom/following/:user/:page/ - User followings
https://scratch.mit.edu/internalapi/swf-settings/ - User SWF settings
https://scratch.mit.edu/fragment/account-nav.json - User account navbar helper url.
https://scratch.mit.edu/site-api/projects/all/ - All the current logged in user's projects.
https://scratch.mit.edu/site-api/messages/friends-activity/ - What's happening.
https://scratch.mit.edu/messages/ajax/get-message-count/ - Your message count
Too much?
Last edited by Dylan5797 (Nov. 24, 2015 15:00:13)
- liam48D
- Scratcher
1000+ posts
Scratch APIs
Too much OK, Here's the long list of mine:deprecated API
-snip-
Too much?
202e-202e-202e-202e-202e UNI-CODE~~~~~
- NoMod-Programming
- Scratcher
1000+ posts
Scratch APIs
There are swf settings??? Cool!!! OK, Here's the long list of mine:
http://cdn.projects.scratch.mit.edu/internalapi/project/:id/get/ - Get Project
https://scratch.mit.edu/projects/:id/remixtree/bare/ - Remix Tree data
Require PUT method:
http://scratch.mit.edu/site-api/users/followers/:user/add/?usernames=:loggedinuser - Follow Someone
http://scratch.mit.edu/site-api/users/followers/:user/remove/?usernames=:loggedinuser
http://scratch.mit.edu/discuss/subscription/topic/:id/add/ - Follow A topic
http://scratch.mit.edu/discuss/subscription/topic/:id/remove/ - Unfollow a topic
https://scratch.mit.edu/site-api/comments/user/:name/add/ - Comment on a user, requires special payload
https://scratch.mit.edu/site-api/comments/projects/:id/add/ - Comment on a project, requires special payload
https://scratch.mit.edu/site-api/comments/gallery/:id/add/ - Comment on a studio, requires special payload
https://scratch.mit.edu/site-api/comments/user/:id/del/ - Delete a comment on your profile, requires special payload
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/invite_curator/?usernames=:user - Invite a curator, when you manage or own a studio
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/remove/?usernames=:user - Deletes a curator/manager, when you manage or own a studio.
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/add/?usernames=:user - Accepts a curator invitation, you have to know the studio id.
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/promote/?usernames=:user - Promotes a curator to manager of a studio, if you are a manager or owner and they are a curator.
- These are now GET methods -
http://scratch.mit.edu/site-api/users/all/:user/ - Certain user data
https://scratch.mit.edu/api/v1/user/:user/ - Other user data
http://scratch.mit.edu/site-api/comments/user/:user/ - User comments
http://scratch.mit.edu/messages/ajax/user-activity/?user=:user&max=:activity_limit - What user is doing
https://scratch.mit.edu/studios/addfrom/followers/:user/:page/ - User followers
https://scratch.mit.edu/studios/addfrom/following/:user/:page/ - User followings
https://scratch.mit.edu/internalapi/swf-settings/ - User SWF settings
https://scratch.mit.edu/fragment/account-nav.json - User account navbar helper url.
https://scratch.mit.edu/site-api/projects/all/ - All the current logged in user's projects.
https://scratch.mit.edu/site-api/messages/friends-activity/ - What's happening.
https://scratch.mit.edu/messages/ajax/get-message-count/ - Your message count
Too much?
Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
- Dylan5797
- Scratcher
1000+ posts
Scratch APIs
Someone can add them still right? OK, Here's the long list of mine:
http://cdn.projects.scratch.mit.edu/internalapi/project/:id/get/ - Get Project
https://scratch.mit.edu/projects/:id/remixtree/bare/ - Remix Tree data
Require PUT method:
http://scratch.mit.edu/site-api/users/followers/:user/add/?usernames=:loggedinuser - Follow Someone
http://scratch.mit.edu/site-api/users/followers/:user/remove/?usernames=:loggedinuser
http://scratch.mit.edu/discuss/subscription/topic/:id/add/ - Follow A topic
http://scratch.mit.edu/discuss/subscription/topic/:id/remove/ - Unfollow a topic
https://scratch.mit.edu/site-api/comments/user/:name/add/ - Comment on a user, requires special payload
https://scratch.mit.edu/site-api/comments/projects/:id/add/ - Comment on a project, requires special payload
https://scratch.mit.edu/site-api/comments/gallery/:id/add/ - Comment on a studio, requires special payload
https://scratch.mit.edu/site-api/comments/user/:id/del/ - Delete a comment on your profile, requires special payload
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/invite_curator/?usernames=:user - Invite a curator, when you manage or own a studio
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/remove/?usernames=:user - Deletes a curator/manager, when you manage or own a studio.
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/add/?usernames=:user - Accepts a curator invitation, you have to know the studio id.
https://scratch.mit.edu/site-api/users/curators-in/:studio_id/promote/?usernames=:user - Promotes a curator to manager of a studio, if you are a manager or owner and they are a curator.
- These are now GET methods -
http://scratch.mit.edu/site-api/users/all/:user/ - Certain user data
https://scratch.mit.edu/api/v1/user/:user/ - Other user data
http://scratch.mit.edu/site-api/comments/user/:user/ - User comments
http://scratch.mit.edu/messages/ajax/user-activity/?user=:user&max=:activity_limit - What user is doing
https://scratch.mit.edu/studios/addfrom/followers/:user/:page/ - User followers
https://scratch.mit.edu/studios/addfrom/following/:user/:page/ - User followings
https://scratch.mit.edu/internalapi/swf-settings/ - User SWF settings
https://scratch.mit.edu/fragment/account-nav.json - User account navbar helper url.
https://scratch.mit.edu/site-api/projects/all/ - All the current logged in user's projects.
https://scratch.mit.edu/site-api/messages/friends-activity/ - What's happening.
https://scratch.mit.edu/messages/ajax/get-message-count/ - Your message count
Too much?
- liam48D
- Scratcher
1000+ posts
Scratch APIs
https://scratch.mit.edu/discuss/topic/169632/http://a4.ec-images.myspacecdn.com/images01/8/1da98f3e3cfceaaadeddeaa9946fcbff/l.jpg
deprecated apis ^^^
shameless self advertisement
202e-202e-202e-202e-202e UNI-CODE~~~~~
- Dylan5797
- Scratcher
1000+ posts
Scratch APIs
topic jumping.https://scratch.mit.edu/discuss/topic/169632/http://a4.ec-images.myspacecdn.com/images01/8/1da98f3e3cfceaaadeddeaa9946fcbff/l.jpg
deprecated apis ^^^
shameless self advertisement
- liam48D
- Scratcher
1000+ posts
Scratch APIs
This is 100% ontopic because without the Scratch API they would not be able to post it.?? HIII
202e-202e-202e-202e-202e UNI-CODE~~~~~
- Dylan5797
- Scratcher
1000+ posts
Scratch APIs
Good pointThis is 100% ontopic because without the Scratch API they would not be able to post it.?? HIII
Now we can post anything -it's using the API.
- liam48D
- Scratcher
1000+ posts
Scratch APIs
And the API is an ontopic advanced topic, so we can say anything anywhere!Good pointThis is 100% ontopic because without the Scratch API they would not be able to post it.?? HIII
Now we can post anything -it's using the API.
202e-202e-202e-202e-202e UNI-CODE~~~~~
- kvackkvack
- Scratcher
500+ posts
Scratch APIs
And as long as it's on topic, we can break any other rules! After all, if they didn't want us to say anything, they shouldn't have an API!And the API is an ontopic advanced topic, so we can say anything anywhere!Good pointThis is 100% ontopic because without the Scratch API they would not be able to post it.?? HIII
Now we can post anything -it's using the API.
Last edited by kvackkvack (Nov. 29, 2015 11:27:10)
- Discussion Forums
- » Advanced Topics
- » Scratch APIs