Discuss Scratch

Jonathan50
Scratcher
1000+ posts

Scratch APIs

Firedrake969 wrote:

Yes, please
If someone starts a new one I'll link it and close this topic.
Rather edit the OP

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

thisandagain wrote:

BookOwl wrote:

What character encoding does https://api-staging.scratch.mit.edu/news?limit=1 use to encode it's results?
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.
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.

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?

202e-202e-202e-202e-202e UNI-CODE~~~~~
liam48D
Scratcher
1000+ posts

Scratch APIs

liam48D wrote:

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?
https://github.com/liam4/scratch-api-unofficial-docs

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?

Last edited by Dylan5797 (Nov. 24, 2015 15:00:13)


liam48D
Scratcher
1000+ posts

Scratch APIs

Dylan5797 wrote:

OK, Here's the long list of mine:

-snip-

Too much?
Too much deprecated API

202e-202e-202e-202e-202e UNI-CODE~~~~~
NoMod-Programming
Scratcher
1000+ posts

Scratch APIs

Dylan5797 wrote:

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?
There are swf settings??? Cool!!!

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

Dylan5797 wrote:

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?
Someone can add them still right?

Dylan5797
Scratcher
1000+ posts
liam48D
Scratcher
1000+ posts

Scratch APIs

Dylan5797 wrote:

ChocolatePi wrote:

http://a4.ec-images.myspacecdn.com/images01/8/1da98f3e3cfceaaadeddeaa9946fcbff/l.jpg

deprecated apis ^^^
https://scratch.mit.edu/discuss/topic/169632/

shameless self advertisement

202e-202e-202e-202e-202e UNI-CODE~~~~~
Dylan5797
Scratcher
1000+ posts

Scratch APIs

liam48D wrote:

Dylan5797 wrote:

ChocolatePi wrote:

http://a4.ec-images.myspacecdn.com/images01/8/1da98f3e3cfceaaadeddeaa9946fcbff/l.jpg

deprecated apis ^^^
https://scratch.mit.edu/discuss/topic/169632/

shameless self advertisement
topic jumping.

P-O-D13
Scratcher
2 posts

Scratch APIs

HIII
Dylan5797
Scratcher
1000+ posts

Scratch APIs

P-O-D13 wrote:

HIII
??

ChocolatePi
Scratcher
1000+ posts

Scratch APIs

P-O-D13 wrote:

HIII
Hi!
liam48D
Scratcher
1000+ posts

Scratch APIs

Dylan5797 wrote:

P-O-D13 wrote:

HIII
??
This is 100% ontopic because without the Scratch API they would not be able to post it.

202e-202e-202e-202e-202e UNI-CODE~~~~~
Dylan5797
Scratcher
1000+ posts

Scratch APIs

liam48D wrote:

Dylan5797 wrote:

P-O-D13 wrote:

HIII
??
This is 100% ontopic because without the Scratch API they would not be able to post it.
Good point
Now we can post anything -it's using the API.

liam48D
Scratcher
1000+ posts

Scratch APIs

Dylan5797 wrote:

liam48D wrote:

Dylan5797 wrote:

P-O-D13 wrote:

HIII
??
This is 100% ontopic because without the Scratch API they would not be able to post it.
Good point
Now we can post anything -it's using the API.
And the API is an ontopic advanced topic, so we can say anything anywhere!

202e-202e-202e-202e-202e UNI-CODE~~~~~
kvackkvack
Scratcher
500+ posts

Scratch APIs

liam48D wrote:

Dylan5797 wrote:

liam48D wrote:

Dylan5797 wrote:

P-O-D13 wrote:

HIII
??
This is 100% ontopic because without the Scratch API they would not be able to post it.
Good point
Now we can post anything -it's using the API.
And the API is an ontopic advanced topic, so we can say anything anywhere!
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!

Last edited by kvackkvack (Nov. 29, 2015 11:27:10)

Powered by DjangoBB