Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Studio/Comment API question
- st19_galla
- Scratcher
1000+ posts
Studio/Comment API question
Does anyone know if there is an API or script for adding a project to a studio and for commenting a message somewhere on the site? Thanks
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ | I'ᗰ ᔕT19_Gᗩᒪᒪᗩ! | ᑎEᗯ TO ᔕᑕᖇᗩTᑕᕼ? ᐯIᔕIT TᕼE ᗯEᒪᑕOᗰIᑎG ᑕOᗰᗰITTEE! |
⠀⠀⠀⠀⠀⠀⠀| ᗩ GᑌIᗪE TO (ᑎOT) ᑎEᑕᖇOᑭOᔕTIᑎG! | ᐯIᔕIT TᕼE ᔕᑕᖇᗩTᑕᕼ ᗯIKI ᖴOᖇ ᗩᑎY ᑫᑌEᔕTIOᑎᔕ! |
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ This signature is looking a bit… вℓυє, why don't we add a bit of яє∂?
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ Đ₳Ɽ₦, ₳₦ ɆVłⱠ ₭Ʉ₥QɄ₳₮ ł₴ Ɇ₳₮ł₦₲ ₥Ɏ ₴ł₲₦₳₮ɄⱤɆ!
- Gaza101
- Scratcher
500+ posts
Studio/Comment API question
Dylan's API should probably have you covered.
If you're looking for an easy way to read comments, I've written a small interface for that.
If you're looking for an easy way to read comments, I've written a small interface for that.
- MathWizz
- Scratcher
100+ posts
Studio/Comment API question
The ‘requests’ url seems to be broken. Note: to install please read my sig.
Last edited by MathWizz (Aug. 29, 2016 04:02:09)
running Chromium 42.0.2311.90 with Flash Player 15.0.0.189 on Arch Linux 3.19.5-1-ck
MathWizz — JsScratch && sb.js & Amber (coming soon! maybe)
- BookOwl
- Scratcher
1000+ posts
Studio/Comment API question
The new version of scratchapi is now on PyPi, so you can ‘pip3 install scratchapi’ again. Note: to install please read my sig.
who needs signatures
- Dylan5797
- Scratcher
1000+ posts
Studio/Comment API question
Oops, forgot to change my sigThe new version of scratchapi is now on PyPi, so you can ‘pip3 install scratchapi’ again. Note: to install please read my sig.
- gdpr533f604550b2f20900645890
- Scratcher
1000+ posts
Studio/Comment API question
You can probably find out the request URIs and related information, such as request body parameters, using your browser's console. I use Firefox, and it allows me to inspect the raw request data. (I click “Edit and resend” to view the information). Open your console and make a request, and the URI should be printed on the screen. I don't know what browser you use, but it probably has such features.
I know that the URI for profile commenting is:
The content body for it is:
I know that the URI for profile commenting is:
https://scratch.mit.edu/site-api/comments/user/username/add/
{"content":"insert content here","parent_id":"","commentee_id":""}
- Discussion Forums
- » Advanced Topics
- » Studio/Comment API question