Send google shutdown notification using python

Is there an API that allows me to send a notification in Google Hangouts? Or is there even a python module that encapsulates the Hangout API?

I would like to send a system notification (e.g. hard drive failure reports) to a specific account. Any ideas, suggestions?

+6
source share
3 answers

Hangouts does not currently have a public API.

However, messages sent to the Google Talk XMPP server (talk.google.com/10222) are still delivered to users through Hangouts. This support only applies to one-on-one conversations, so a notification cannot be delivered to a group of users. These messages must be provided through an authenticated Google account for delivery.

+2
source

I am sending alarms and other notifications using a python script (crashes on the database server, partitions without free space, etc.) using hangouts. It is easy. See http://www.administracion-linux.com/2014/07/enviar-mensajes-por-hangout-desde.html to send video calls.

+1
source

There is a preliminary alpha library for sending error messages in python: https://pypi.python.org/pypi/hangups/0.1

The API was remodeled and not published (as someone posted in the comments). Thus, it can change Google.

Additionally, messages sent using XMPP are no longer delivered to Hangouts users. I think this is another segment (out of a thousand planned).

+1
source

Source: https://habr.com/ru/post/945675/


All Articles