So, I'm documenting the Scratch API's functions. I was doing fine until I ran into the 5th from bottom: get_latest_project. It said it requires an authentication key. What is this authentication key?
Offline
Where is the API source code? I'll take a look at it.
Offline
bobbybee wrote:
Where is the API source code? I'll take a look at it.
I was just reading through the function but couldn't find any description of the authentication key. Anyways, the source is here, and that function is on line 1062.
Offline
Just taking a guess based on the parameters one would expect, couldn't it be the user's ID -- that series of numbers that were outputted by the authenticate_user.php page?
Offline
It's a constant...
Offline
LS97 wrote:
Just taking a guess based on the parameters one would expect, couldn't it be the user's ID -- that series of numbers that were outputted by the authenticate_user.php page?
I tried that.
Offline
So, why are you looking at Scratch's API again?
Offline
stevetheipad wrote:
So, why are you looking at Scratch's API again?
Why does it matter why? Anyway, he's creating a documentation for it so it's easier for developers to use.
Offline
veggieman001 wrote:
stevetheipad wrote:
So, why are you looking at Scratch's API again?
Why does it matter why? Anyway, he's creating a documentation for it so it's easier for developers to use.
Developers, or just people wanting to know some of the random stuff the API gives, like, what second a project was uploaded.
Offline