Discuss Scratch

CA-Remix
New Scratcher
19 posts

getbackpack.py - view other Scratcher's backpack!

Code download link, or post asking for the code: http://www.mediafire.com/download/bvapx41dttq5tx1/getbackpack.py
MrFlash67
Scratcher
500+ posts

getbackpack.py - view other Scratcher's backpack!

Would you mind putting this on Github? I have an aversion to MediaFire and I can pullreq it for additions!
CA-Remix
New Scratcher
19 posts

getbackpack.py - view other Scratcher's backpack!

MrFlash67 wrote:

Would you mind putting this on Github? I have an aversion to MediaFire and I can pullreq it for additions!
Sure, I'll try! I never used github, though.
CA-Remix
New Scratcher
19 posts

getbackpack.py - view other Scratcher's backpack!

CA-Remix wrote:

MrFlash67 wrote:

Would you mind putting this on Github? I have an aversion to MediaFire and I can pullreq it for additions!
Sure, I'll try! I never used github, though.
Will take a while to download github for Windows. Will post it tomorrow, because I go to bed in 4 minutes.
MrFlash67
Scratcher
500+ posts

getbackpack.py - view other Scratcher's backpack!

CA-Remix wrote:

CA-Remix wrote:

MrFlash67 wrote:

Would you mind putting this on Github? I have an aversion to MediaFire and I can pullreq it for additions!
Sure, I'll try! I never used github, though.
Will take a while to download github for Windows. Will post it tomorrow, because I go to bed in 4 minutes.
Cool! Thanks!
Paddle2See
Scratch Team
1000+ posts

getbackpack.py - view other Scratcher's backpack!

I kind of feel like this might be an invasion of privacy - if the person wants that material made public, they will put it in a project, right? What use cases do you see for this utility?
jji7skyline
Scratcher
1000+ posts

getbackpack.py - view other Scratcher's backpack!

Paddle2See wrote:

I kind of feel like this might be an invasion of privacy - if the person wants that material made public, they will put it in a project, right? What use cases do you see for this utility?
A look at the source code seems to show that it simply opens a browser with a url generated from a username.

It seems that there is an API for this? If so, it doesn't work for me.

import webbrowser
username_1 = "CA-Remix"
username_2 = "...username here..."
username_3 = "...username here..."
username_4 = "...username here..."
username_5 = "...username here..."
#... keep on going!

def search():
url_1 = "http://scratch.mit.edu/internalapi/backpack/CA-Remix/get/"
#####
#####
#TEMPLATE
# url_index = "http://scratch.mit.edu/internalapi/backpack/username/get/"
######
######
navigator = webbrowser.get()
navigator.open(url_1) # or any other url_* variable.

search()
scimonster
Scratcher
1000+ posts

getbackpack.py - view other Scratcher's backpack!

jji7skyline wrote:

Paddle2See wrote:

I kind of feel like this might be an invasion of privacy - if the person wants that material made public, they will put it in a project, right? What use cases do you see for this utility?
A look at the source code seems to show that it simply opens a browser with a url generated from a username.

It seems that there is an API for this? If so, it doesn't work for me.

import webbrowser
username_1 = "CA-Remix"
username_2 = "...username here..."
username_3 = "...username here..."
username_4 = "...username here..."
username_5 = "...username here..."
#... keep on going!

def search():
url_1 = "http://scratch.mit.edu/internalapi/backpack/CA-Remix/get/"
#####
#####
#TEMPLATE
# url_index = "http://scratch.mit.edu/internalapi/backpack/username/get/"
######
######
navigator = webbrowser.get()
navigator.open(url_1) # or any other url_* variable.

search()
The API is simply http://scratch.mit.edu/internalapi/backpack/username/get/
cobraguy
Scratcher
1000+ posts

getbackpack.py - view other Scratcher's backpack!

scimonster wrote:

jji7skyline wrote:

Paddle2See wrote:

I kind of feel like this might be an invasion of privacy - if the person wants that material made public, they will put it in a project, right? What use cases do you see for this utility?
A look at the source code seems to show that it simply opens a browser with a url generated from a username.

It seems that there is an API for this? If so, it doesn't work for me.

import webbrowser
username_1 = "CA-Remix"
username_2 = "...username here..."
username_3 = "...username here..."
username_4 = "...username here..."
username_5 = "...username here..."
#... keep on going!

def search():
url_1 = "http://scratch.mit.edu/internalapi/backpack/CA-Remix/get/"
#####
#####
#TEMPLATE
# url_index = "http://scratch.mit.edu/internalapi/backpack/username/get/"
######
######
navigator = webbrowser.get()
navigator.open(url_1) # or any other url_* variable.

search()
The API is simply http://scratch.mit.edu/internalapi/backpack/username/get/
I saw a comment on scmb1's profile and somebody posted that.
CA-Remix
New Scratcher
19 posts

getbackpack.py - view other Scratcher's backpack!

cobraguy wrote:

scimonster wrote:

jji7skyline wrote:

Paddle2See wrote:

I kind of feel like this might be an invasion of privacy - if the person wants that material made public, they will put it in a project, right? What use cases do you see for this utility?
A look at the source code seems to show that it simply opens a browser with a url generated from a username.

It seems that there is an API for this? If so, it doesn't work for me.

import webbrowser
username_1 = "CA-Remix"
username_2 = "...username here..."
username_3 = "...username here..."
username_4 = "...username here..."
username_5 = "...username here..."
#... keep on going!

def search():
url_1 = "http://scratch.mit.edu/internalapi/backpack/CA-Remix/get/"
#####
#####
#TEMPLATE
# url_index = "http://scratch.mit.edu/internalapi/backpack/username/get/"
######
######
navigator = webbrowser.get()
navigator.open(url_1) # or any other url_* variable.

search()
The API is simply http://scratch.mit.edu/internalapi/backpack/username/get/
I saw a comment on scmb1's profile and somebody posted that.

Ya, that's where I got it. I just wanted to make a script for it.
CA-Remix
New Scratcher
19 posts

getbackpack.py - view other Scratcher's backpack!

MrFlash67 wrote:

CA-Remix wrote:

CA-Remix wrote:

MrFlash67 wrote:

Would you mind putting this on Github? I have an aversion to MediaFire and I can pullreq it for additions!
Sure, I'll try! I never used github, though.
Will take a while to download github for Windows. Will post it tomorrow, because I go to bed in 4 minutes.
Cool! Thanks!
Sorry, I can't figure it out. Here's the code, though:
username_1 = "CA-Remix"
username_2 = "...username here..."
username_3 = "...username here..."
username_4 = "...username here..."
username_5 = "...username here..."
#... keep on going!

def search():
url_1 = "http://scratch.mit.edu/internalapi/backpack/CA-Remix/get/"
#####
#####
#TEMPLATE
# url_index = "http://scratch.mit.edu/internalapi/backpack/username/get/"
######
######
navigator = webbrowser.get()
navigator.open(url_1) # or any other url_* variable.

search()
jji7skyline
Scratcher
1000+ posts

getbackpack.py - view other Scratcher's backpack!

scimonster wrote:

jji7skyline wrote:

Paddle2See wrote:

I kind of feel like this might be an invasion of privacy - if the person wants that material made public, they will put it in a project, right? What use cases do you see for this utility?
A look at the source code seems to show that it simply opens a browser with a url generated from a username.

It seems that there is an API for this? If so, it doesn't work for me.

import webbrowser
username_1 = "CA-Remix"
username_2 = "...username here..."
username_3 = "...username here..."
username_4 = "...username here..."
username_5 = "...username here..."
#... keep on going!

def search():
url_1 = "http://scratch.mit.edu/internalapi/backpack/CA-Remix/get/"
#####
#####
#TEMPLATE
# url_index = "http://scratch.mit.edu/internalapi/backpack/username/get/"
######
######
navigator = webbrowser.get()
navigator.open(url_1) # or any other url_* variable.

search()
The API is simply http://scratch.mit.edu/internalapi/backpack/username/get/
I know what it is, it just gives me a 404 when I go there.
NeilWest
Scratcher
1000+ posts

getbackpack.py - view other Scratcher's backpack!

Nice idea, but I agree with Paddle. Other Scratchers may have more personal stuff in their backpacks, so maybe if they could give you permission, that'd be a respectful idea.
cobraguy
Scratcher
1000+ posts

getbackpack.py - view other Scratcher's backpack!

jji7skyline wrote:

scimonster wrote:

jji7skyline wrote:

Paddle2See wrote:

I kind of feel like this might be an invasion of privacy - if the person wants that material made public, they will put it in a project, right? What use cases do you see for this utility?
A look at the source code seems to show that it simply opens a browser with a url generated from a username.

It seems that there is an API for this? If so, it doesn't work for me.

import webbrowser
username_1 = "CA-Remix"
username_2 = "...username here..."
username_3 = "...username here..."
username_4 = "...username here..."
username_5 = "...username here..."
#... keep on going!

def search():
url_1 = "http://scratch.mit.edu/internalapi/backpack/CA-Remix/get/"
#####
#####
#TEMPLATE
# url_index = "http://scratch.mit.edu/internalapi/backpack/username/get/"
######
######
navigator = webbrowser.get()
navigator.open(url_1) # or any other url_* variable.

search()
The API is simply http://scratch.mit.edu/internalapi/backpack/username/get/
I know what it is, it just gives me a 404 when I go there.
It gives me a 404 when I put in your username, but almost any other username I put in works.
jji7skyline
Scratcher
1000+ posts

getbackpack.py - view other Scratcher's backpack!

cobraguy wrote:

jji7skyline wrote:

scimonster wrote:

jji7skyline wrote:

Paddle2See wrote:

I kind of feel like this might be an invasion of privacy - if the person wants that material made public, they will put it in a project, right? What use cases do you see for this utility?
A look at the source code seems to show that it simply opens a browser with a url generated from a username.

It seems that there is an API for this? If so, it doesn't work for me.

import webbrowser
username_1 = "CA-Remix"
username_2 = "...username here..."
username_3 = "...username here..."
username_4 = "...username here..."
username_5 = "...username here..."
#... keep on going!

def search():
url_1 = "http://scratch.mit.edu/internalapi/backpack/CA-Remix/get/"
#####
#####
#TEMPLATE
# url_index = "http://scratch.mit.edu/internalapi/backpack/username/get/"
######
######
navigator = webbrowser.get()
navigator.open(url_1) # or any other url_* variable.

search()
The API is simply http://scratch.mit.edu/internalapi/backpack/username/get/
I know what it is, it just gives me a 404 when I go there.
It gives me a 404 when I put in your username, but almost any other username I put in works.
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
scratchisthebest
Scratcher
1000+ posts

getbackpack.py - view other Scratcher's backpack!

Is there anything in your backpack?

maybe it 404s when it's empty

Powered by DjangoBB