Package pysmug :: Module smugmug :: Class SmugMug
[hide private]
[frames] | no frames]

Class SmugMug

source code

object --+    
         |    
  SmugBase --+
             |
            SmugMug
Known Subclasses:

Serial version of a SmugMug client.

Instance Methods [hide private]
 
_login(*args, **kwargs) source code
 
_perform(self, c)
Perform the low-level communication with SmugMug.
source code
 
login_anonymously(self, **kwargs)
Login into SmugMug anonymously using the API key.
source code
 
login_withHash(self, **kwargs)
Login into SmugMug with user id, password hash and API key.
source code
 
login_withPassword(self, **kwargs)
Login into SmugMug with email address, password and API key.
source code

Inherited from SmugBase: __getattr__, __init__, batch, images_upload

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Instance Variables [hide private]

Inherited from SmugBase: progress, proxy, secure, sessionId, verbose, version

Properties [hide private]

Inherited from SmugBase: protocol

Inherited from object: __class__

Method Details [hide private]

_login(*args, **kwargs)

source code 
Decorators:
  • @smugmug_keywords

_perform(self, c)

source code 

Perform the low-level communication with SmugMug.

Parameters:
  • c - a pending request
Overrides: SmugBase._perform

login_anonymously(self, **kwargs)

source code 

Login into SmugMug anonymously using the API key.

Parameters:
  • APIKey - a SmugMug api key
Returns:
the SmugMug instance with a session established

login_withHash(self, **kwargs)

source code 

Login into SmugMug with user id, password hash and API key.

Parameters:
  • userId - the account holder's user id
  • passwordHash - the account holder's password hash
  • APIKey - a SmugMug api key
Returns:
the SmugMug instance with a session established

login_withPassword(self, **kwargs)

source code 

Login into SmugMug with email address, password and API key.

Parameters:
  • emailAddress - the account holder's email address
  • password - the account holder's password
  • APIKey - a SmugMug api key
Returns:
the SmugMug instance with a session established