Found a way around. I really hope this works, please try it with your projects:
My newest three projects:
This can pull all of your projects by changing the parameter num. Here's the link with parameters:
[img]http://blocks.scratchr.org/API.php?user=USERNAME&action=projects&type=newest&return=image&num=NUM'TH PROJECT[/img]
Offline
sparks wrote:
Found a way around. I really hope this works, please try it with your projects:
My newest three projects:
http://blocks.scratchr.org/API.php?user … &num=1http://blocks.scratchr.org/API.php?user … &num=2http://blocks.scratchr.org/API.php?user … &num=3
This can pull all of your projects by changing the parameter num. Here's the link with parameters:Code:
[url]http://blocks.scratchr.org/API.php?user=USERNAME&action=projects&type=newest&return=image&num=NUM'TH PROJECT[/url]
EDIT: Nope
Last edited by SeptimusHeap (2011-07-19 10:08:36)
Offline
Not showing. D:
Offline
sparks wrote:
The thing is that it SHOULD work... if you view the link it's got the file echoed on the page....
And I can drag the text like an unloaded image...
Offline
Yes.... this is most unfortunate, It gets the project id by searching for project id (num) on the getprojectsbyusername page. The thumbnails always have the same thumb ID as the project...
Offline
If I enter an invalid image such as
(http://scratch.mit.edu/static/projects/sparks/2721395_sm.png) I get a little cat but I can't read what it says...
So as the Image content is showing on the page, and even the cat drawing does not appear, it seems there is a display problem..
Last edited by sparks (2011-07-19 10:14:40)
Offline
sparks wrote:
If I enter an invalid image such as http://scratch.mit.edu/static/projects/ … 395_sm.png (http://scratch.mit.edu/static/projects/sparks/2721395_sm.png) I get a little cat but I can't read what it says...
So as the Image content is showing on the page, and even the cat drawing does not appear, it seems there is a display problem..
Try the full size version of it.

Great!!
Offline
Oddly it does not seem to like doing it for anything above the 9th project....
EDIT: Oh. Projects made before 1000000 project was reached have 6 characters, not 7.
Last edited by sparks (2011-07-19 10:30:01)
Offline
What's on line 53 of your code?
Offline
sparks wrote:
Is it worth me working out how to get projects from before the 1000000 change to show?
Probably.
Just have it scan for the next double quote.
Offline
sparks wrote:
Is it worth me working out how to get projects from before the 1000000 change to show?
Yes
Offline
sparks wrote:
Alright... I'll see what I can do!
Dang it! I just realized I can't outline the image in greeness D: I wish i could put an image above and below it to make it part of my banner.
Last edited by SeptimusHeap (2011-07-19 11:06:13)
Offline
sparks wrote:
Done! I'm documenting the new API on a better named thead
![]()
Keep all your apis in a Sparks: Epic APIs thread
Offline
SeptimusHeap wrote:
sparks wrote:
Done! I'm documenting the new API on a better named thead
![]()
Keep all your APIs in a Sparks: Epic APIs thread
![]()
Grammar cop alert!
Works well, sparks.
Offline
I'm calling it forum API. Too undramatic for your tastes, sep?
It is a little unfortunate that you can't layer or border images... It's probably possible, I mean, TheSuccessor built . Bordering would probably require something similar but that's out of my depth.
Last edited by sparks (2011-07-19 11:21:43)
Offline
Can it do links/titles? :3
Offline
sparks wrote:
I'm calling it forum API. Too undramatic for your tastes, sep?
![]()
It is a little unfortunate that you can't layer or border images... It's probably possible, I mean, TheSuccessor built http://theblocklibrary.site11.com/inclu … olor=looks. Bordering would probably require something similar but that's out of my depth.
Yeah
Lol, but if you make the title interesting it will get more views. Maybe... Hmm, how do I make APIs sound exciting...
Offline