[ubuntu-uk] Skype Log on Ubuntu

Matthew Sturdy matt.sturdy at gmail.com
Wed Oct 31 10:36:50 UTC 2012


On 31 October 2012 11:01, Abduljaber Abdulqader
<a.abdulqader at hotmail.co.uk>wrote:

>  Please can anyone shed light on how to print the log of free calls on
> Ubuntu?
>
>
Hi,

You can use the Skype4Py[1] library with python to print the log of calls
very easily... here's a quick example of the script you might want to use:

#!/usr/bin/python
import Skype4Py

skype = Skype4Py.Skype()

for call in skype.Calls():
  if call.RateValue == 0.0:   # check it was free
    when     = call.Datetime
    who      = call.PartnerDisplayName
    how_long = call.Duration

    print "call at %s with %s for %ss" % (when,who,how_long)


The Skype client must be running, and logged in to the user you wish to see
the log for.

matt

[1 ]http://skype4py.sourceforge.net/doc/html/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20121031/0f224544/attachment.html>


More information about the ubuntu-uk mailing list