Discuss Scratch
- Firedrake969
-
Scratcher
1000+ posts
Some new API stuff
yay I wrote a script inspired by some of our discussions
https://gist.github.com/Firedrake969/f9ef983a7fbe1dc07692443fb3016f3f
I should do the same w/followers and following
https://gist.github.com/Firedrake969/f9ef983a7fbe1dc07692443fb3016f3f
I should do the same w/followers and following
Last edited by Firedrake969 (May 21, 2016 23:23:35)
- Jonathan50
-
Scratcher
1000+ posts
Some new API stuff
I'm done, and the video is now uploading to YouTube. Here's the list of users:A list of what users?
(edit : On second thought, I'll just post a link to a file.)
Edit2 : http://www.filedropper.com/usersindexed
edit3 : Here's the youtube video: http://scratch.mit.edu/discuss/youtube/FrkZbEuRoS4
- Jonathan50
-
Scratcher
1000+ posts
Some new API stuff
I'm in a pretty good mood today, so guess what? You win! https://gist.github.com/Radical-from-Scratch/a70672cfed2d11c37fc71482d6e8257fWow, how many of those got one from Scratch Day and how many used Dylan5797's exploit??
Also, there are a *few* repeats (I am #1 and #333 but it's mostly no repeats)
And why am I on there?

- Firedrake969
-
Scratcher
1000+ posts
Some new API stuff
I'm guessing that it uses the production API which has all the production data (ie the main site's API and data)I'm in a pretty good mood today, so guess what? You win! https://gist.github.com/Radical-from-Scratch/a70672cfed2d11c37fc71482d6e8257fWow, how many of those got one from Scratch Day and how many used Dylan5797's exploit??
Also, there are a *few* repeats (I am #1 and #333 but it's mostly no repeats)
And why am I on there?
- Jonathan50
-
Scratcher
1000+ posts
Some new API stuff
Then I think it would be a lot longer and I wouldn't be near the top… (But why am I there anyway?) But @-Radical-'s Datablocks account is not called “-Radical-”. This is confusing…I'm guessing that it uses the production API which has all the production data (ie the main site's API and data)I'm in a pretty good mood today, so guess what? You win! https://gist.github.com/Radical-from-Scratch/a70672cfed2d11c37fc71482d6e8257fWow, how many of those got one from Scratch Day and how many used Dylan5797's exploit??
Also, there are a *few* repeats (I am #1 and #333 but it's mostly no repeats)
And why am I on there?
Last edited by Jonathan50 (May 22, 2016 00:22:27)
- Firedrake969
-
Scratcher
1000+ posts
Some new API stuff
I'm 99% sure that it's not using the data-blocks database because liam48D is on it.Then I think it would be a lot longer and I wouldn't be near the top… (But why am I there anyway?) But @-Radical-'s Datablocks account is not called “-Radical-”. This is confusing…I'm guessing that it uses the production API which has all the production data (ie the main site's API and data)I'm in a pretty good mood today, so guess what? You win! https://gist.github.com/Radical-from-Scratch/a70672cfed2d11c37fc71482d6e8257fWow, how many of those got one from Scratch Day and how many used Dylan5797's exploit??
Also, there are a *few* repeats (I am #1 and #333 but it's mostly no repeats)
And why am I on there?
How do you know you wouldn't be near the top? Maybe -Radical- is following someone who's following you or something.
- Jonathan50
-
Scratcher
1000+ posts
Some new API stuff
I'm 99% sure that it's not using the data-blocks database because liam48D is on it.If it was the list of all the registered users on scratch.mit.edu in order of who registered first/last I certainly would not be at the top. I don't think @-Radical- would have a thousandth of the time it would take to manually list all of the 11,940,004+ users in his desired order.
How do you know you wouldn't be near the top? Maybe -Radical- is following someone who's following you or something.
EDIT: The list has 5025 users?
Last edited by Jonathan50 (May 22, 2016 00:30:24)
- Firedrake969
-
Scratcher
1000+ posts
Some new API stuff
It's probably not all registered users, since the following/follower connections probably aren't complete (i.e. some users don't follow anyone and don't have any followers, and there are probably little “islands” of users who are related via following/follower connections)I'm 99% sure that it's not using the data-blocks database because liam48D is on it.If it was the list of all the registered users on scratch.mit.edu in order of who registered first/last I certainly would not be at the top. I don't think @-Radical- would have a thousandth of the time it would take to manually list all of the 11,940,004+ users in his desired order.
How do you know you wouldn't be near the top? Maybe -Radical- is following someone who's following you or something.
EDIT: The list has 5025 users?
Last edited by Firedrake969 (May 22, 2016 00:34:51)
- -Radical-
-
Scratcher
500+ posts
Some new API stuff
Data Blocks retrieves data from this website.
I stopped the script at 5000 users.
It is possible for the list to come back to you. (Check who user # 333 is)
I stopped the script at 5000 users.
It is possible for the list to come back to you. (Check who user # 333 is)
- Firedrake969
-
Scratcher
1000+ posts
Some new API stuff
Don't index users twice 

if <not <[usernames v] contains [username]>> then
// do stuff here
end
- BKFighter
-
Scratcher
1000+ posts
Some new API stuff
Can confirm what? I stated 3 things.That most don't have repeats but that you are on there twice.
- liam48D
-
Scratcher
1000+ posts
Some new API stuff
Why am I on that list?A following/followers connection branched to you.
- -Radical-
-
Scratcher
500+ posts
Some new API stuff
Why am I on that list?There are only 2 ways you could NOT be on that list.
1) I stopped before it could get to you.
2) Nobody is following you.
- -SuperScratch-
-
Scratcher
100+ posts
Some new API stuff
o
oh okWhy am I on that list?A following/followers connection branched to you.
Oh okWhy am I on that list?There are only 2 ways you could NOT be on that list.
1) I stopped before it could get to you.
2) Nobody is following you.
- Firedrake969
-
Scratcher
1000+ posts
Some new API stuff
List of 11761 users before I stopped it, and no duplicates 

- jTron
-
Scratcher
100+ posts
Some new API stuff
What is the list of users of???this is your, what, third time asking this question?
The list of Scratch (main site) users, collected recursively by starting with one user, gathering all their followers (or who they're following, or both, I'm not entirely sure), rinse, repeat.
Last edited by jTron (May 22, 2016 22:51:36)