Home | Trees | Indices | Help |
|
---|
|
Skype4Py is a multiplatform Skype API wrapper for Python.
Skype4Py
is the package that you should import in
your scripts to be able to access Skype. You won't need to import any
submodules. Everything you may need will be available at the package
level. This includes:
Skype4Py.Skype = Skype4Py.skype.ISkype
Skype4Py.CallChannelManager = Skype4Py.callchannel.ICallChannelManager
Skype4Py.* = Skype4Py.enums.*
Skype4Py.SkypeError = Skype4Py.errors.ISkypeError
Skype4Py.SkypeAPIError = Skype4Py.errors.ISkypeAPIError
The first two are the only classes that you will be instantiating directly. Calling their methods/properties will give you the access to instances of all other classes, you won't have to instantiate them yourself. The two classes are also the only ones that provide event handlers (for more information about events, see the EventHandlingBase class which is a baseclass of the above two classes).
Every Skype4Py script instatinates the Skype4Py.Skype
class at least once. That's what you want to do first in your script.
Then follow the Skype4Py.skype.ISkype reference to see where you can
get from there.
This short example connects to Skype client and prints the user's full name and the names of all the contacts from the contacts list:
import Skype4Py # Create Skype instance skype = Skype4Py.Skype() # Connect Skype object to Skype client skype.Attach() print 'Your full name:', skype.CurrentUser.FullName print 'Your contacts:' for user in skype.Friends: print ' ', user.FullName
Author: Arkadiusz Wahlig (arkadiusz.wahlig at googlemail)
Requires: Python 2.4 or newer (not yet 3.0)
See Also: The Skype4Py webpage
License: BSD License (see the accompanying LICENSE file for more information)
Copyright: © 2007-2008 Arkadiusz Wahlig
Version: 1.0.31.0
Submodules | |
|
Variables | |
__version__ =
The version of Skype4Py. |
|
__package__ =
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 05 14:54:58 2008 | http://epydoc.sourceforge.net |