Package Skype4Py :: Module profile :: Class IProfile
[frames] | no frames]

Class IProfile

source code

object --+
         |
        IProfile

Represents the profile of currently logged in user. Access using ISkype.CurrentUserProfile.

Instance Methods
 
__init__(self, Skype)
__init__.
source code

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

Properties
unicode About
"About" field of the profile.
int Balance
Skype credit balance.
unicode BalanceCurrency
Skype credit balance currency.
unicode BalanceToText
Skype credit balance as properly formatted text with currency.
float BalanceValue
Skype credit balance expressed in currency.
datetime.date Birthday
"Birthday" field of the profile.
bool CallApplyCF
Tells if call forwarding is enabled in the profile.
unicode CallForwardRules
Call forwarding rules of the profile.
int CallNoAnswerTimeout
Number of seconds a call will ring without being answered before it stops ringing.
bool CallSendToVM
Tells whether calls will be sent to the voicemail.
unicode City
"City" field of the profile.
unicode Country
"Country" field of the profile.
unicode FullName
"Full name" field of the profile.
unicode Homepage
"Homepage" field of the profile.
unicode IPCountry
ISO country code queried by IP address.
tuple of unicode Languages
"ISO language codes of the profile.
unicode MoodText
"Mood text" field of the profile.
unicode PhoneHome
"Phone home" field of the profile.
unicode PhoneMobile
"Phone mobile" field of the profile.
unicode PhoneOffice
"Phone office" field of the profile.
unicode Province
"Province" field of the profile.
unicode RichMoodText
Rich mood text of the profile.
User sex Sex
"Sex" field of the profile.
int Timezone
Timezone of the current profile in minutes from GMT.
tuple of unicode ValidatedSmsNumbers
List of phone numbers the user has registered for usage in reply-to field of SMS messages.

Inherited from object: __class__

Method Details

__init__(self, Skype)
(Constructor)

source code 

__init__.

Parameters:
  • Skype (ISkype) - Skype object.
Overrides: object.__init__

Property Details

About

"About" field of the profile.

Get Method:
_GetAbout(self)
Set Method:
_SetAbout(self, value)
Type:
unicode

Balance

Skype credit balance. Note that the precision of profile balance value is currently fixed at 2 decimal places, regardless of currency or any other settings. Use BalanceValue to get the balance expressed in currency.

Get Method:
_GetBalance(self)
Type:
int

BalanceCurrency

Skype credit balance currency.

Get Method:
_GetBalanceCurrency(self)
Type:
unicode

BalanceToText

Skype credit balance as properly formatted text with currency.

Get Method:
_GetBalanceToText(self)
Type:
unicode

BalanceValue

Skype credit balance expressed in currency.

Get Method:
_GetBalanceValue(self)
Type:
float

Birthday

"Birthday" field of the profile.

Get Method:
_GetBirthday(self)
Set Method:
_SetBirthday(self, value)
Type:
datetime.date

CallApplyCF

Tells if call forwarding is enabled in the profile.

Get Method:
_GetCallApplyCF(self)
Set Method:
_SetCallApplyCF(self, value)
Type:
bool

CallForwardRules

Call forwarding rules of the profile.

Get Method:
_GetCallForwardRules(self)
Set Method:
_SetCallForwardRules(self, value)
Type:
unicode

CallNoAnswerTimeout

Number of seconds a call will ring without being answered before it stops ringing.

Get Method:
_GetCallNoAnswerTimeout(self)
Set Method:
_SetCallNoAnswerTimeout(self, value)
Type:
int

CallSendToVM

Tells whether calls will be sent to the voicemail.

Get Method:
_GetCallSendToVM(self)
Set Method:
_SetCallSendToVM(self, value)
Type:
bool

City

"City" field of the profile.

Get Method:
_GetCity(self)
Set Method:
_SetCity(self, value)
Type:
unicode

Country

"Country" field of the profile.

Get Method:
_GetCountry(self)
Set Method:
_SetCountry(self, value)
Type:
unicode

FullName

"Full name" field of the profile.

Get Method:
_GetFullName(self)
Set Method:
_SetFullName(self, value)
Type:
unicode

Homepage

"Homepage" field of the profile.

Get Method:
_GetHomepage(self)
Set Method:
_SetHomepage(self, value)
Type:
unicode

IPCountry

ISO country code queried by IP address.

Get Method:
_GetIPCountry(self)
Type:
unicode

Languages

"ISO language codes of the profile.

Get Method:
_GetLanguages(self)
Set Method:
_SetLanguages(self, value)
Type:
tuple of unicode

MoodText

"Mood text" field of the profile.

Get Method:
_GetMoodText(self)
Set Method:
_SetMoodText(self, value)
Type:
unicode

PhoneHome

"Phone home" field of the profile.

Get Method:
_GetPhoneHome(self)
Set Method:
_SetPhoneHome(self, value)
Type:
unicode

PhoneMobile

"Phone mobile" field of the profile.

Get Method:
_GetPhoneMobile(self)
Set Method:
_SetPhoneMobile(self, value)
Type:
unicode

PhoneOffice

"Phone office" field of the profile.

Get Method:
_GetPhoneOffice(self)
Set Method:
_SetPhoneOffice(self, value)
Type:
unicode

Province

"Province" field of the profile.

Get Method:
_GetProvince(self)
Set Method:
_SetProvince(self, value)
Type:
unicode

RichMoodText

Rich mood text of the profile.

Get Method:
_GetRichMoodText(self)
Set Method:
_SetRichMoodText(self, value)
Type:
unicode

Sex

"Sex" field of the profile.

Get Method:
_GetSex(self)
Set Method:
_SetSex(self, value)
Type:
User sex

Timezone

Timezone of the current profile in minutes from GMT.

Get Method:
_GetTimezone(self)
Set Method:
_SetTimezone(self, value)
Type:
int

ValidatedSmsNumbers

List of phone numbers the user has registered for usage in reply-to field of SMS messages.

Get Method:
_GetValidatedSmsNumbers(self)
Type:
tuple of unicode