def _authorize( self ): # flickr client client = FlickrClient( api_key=True, secret=True ) # authenticate authtoken = client.authenticate() # write it to the settings file if ( authtoken ): xbmcplugin.setSetting( "authtoken", authtoken )
def _authorize(self): # flickr client client = FlickrClient(api_key=True, secret=True) # authenticate authtoken = client.authenticate() # write it to the settings file if (authtoken): xbmcplugin.setSetting("authtoken", authtoken)