google token

T

Thufir

I'd like to acquire a token, as below, but from Java:


def get_token(self,force=False) :
'''Return a tokey. A token is a special string that is used like
a session identification, but that expire rather quickly.'''
if ( force or (self._token == None) ) :
feedurl = CONST.URI_PREFIXE_API + CONST.API_TOKEN + '?
client=' + CONST.AGENT
# print feedurl
self._token = self._web.get(feedurl)
return self._token


http://pyrfeed.googlecode.com/svn/trunk/lib/GoogleReader/reader.py


Basically, that's just a GET on a particular URL, and the returned string
is saved as _token?


thanks,

Thufir
 
T

Thufir

Perhaps you should be asking a Java discussion group? This group is for
discussing Python.


What I meant to ask is, how is that token being acquired? Is that
just a GET?



thanks,

Thufir
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,946
Members
47,498
Latest member
yelene6679

Latest Threads

Top