Im trying to upload an image to the blobstore and return the serving url, this is where im at so far:
url = http://ws.audioscrobbler.com/2.0/?method=track.getinfo&api_key=b25b959554ed76058ac220b7b2e0a026&artist=blink-182&track=dammit&format=json
result = urlfetch.fetch(url=url, deadline=10, method=urlfetch.GET,).content
if result:
data = json.loads(result)
imageUrl = data[ track ][ album ][ image ][3][ #text ]
result = urlfetch.fetch(imageUrl)
if result.status_code == 200:
image_result = db.Blob(result.content)
我需要回来为导游服务的博览会,以便我能够与另一个实体一道挽救。
感谢任何帮助。
thanks J