dev-master
9999999-dev https://github.com/nephre/skypebotSkype DBUS API interface
MIT
The Requires
- php >=5.4
by Daniel Jeznach
php bot skype dbus nephre
Wallogit.com
2017 © Pedro Peláez
Skype DBUS API interface
Playing around with Skype D-Bus API bindings for PHP. Useful for Skype auto-reminders, spamming group chats with jokes or random content, etc :), (*1)
This "project" uses Skype D-Bus API, which is, unfortunately, already deprecated. Instead, developers are encouraged to use Desktop API. Despite of above fact, DBUS API can be still used in version 4.X of Skype, which is latest available on Linux. Probably that is why Skype DBUS documentation is no longer officially published. I had to dig through the web to find it, PDF document is here. See credits section as well., (*2)
Basic usage is very simple, just open your skype client, and open chat window with someone. Then, run from console:, (*3)
php activechats.php
You should return chat ID of currently active chat window, something like:, (*4)
CHAT #myskypeid/$friends.skype.id;cc5250703ad99efb FRIENDLYNAME My Friend Name
To send message, just type:, (*5)
php send.php '#myskypeid/$friends.skype.id;cc5250703ad99efb' Your message here
Check your skype window, you've just sent message to your contact., (*6)
phpdoc/phpdocumentor, with following command:phpdoc -t docs -f "src/Skypebot/*.php" -e dbus --title SkypeBot --sourcecode -p --parseprivate --validate
I do not currently plan implementing voice calls handling. Only chats support. I also haven't tested it with Skype against with statically compiled Qt (like, for instance, in PC-BSD packages), (*7)
Below list is ordered chronologically (ascending - those whom work I use most recently, are being added to the list). Kirils is mentioned second, because when I started this project, Skype DBUS API documentation was officially available., (*8)
Skype DBUS API interface
MIT
php bot skype dbus nephre