An open API service indexing awesome lists of open source software.

https://github.com/neluckoff/social_spam

Package for convenient work with messages in all popular instant messengers
https://github.com/neluckoff/social_spam

email-message social-spam telegram-messages telegram-userbot vkontakte-userbot whatsapp-message whatsapp-userbot

Last synced: 8 months ago
JSON representation

Package for convenient work with messages in all popular instant messengers

Awesome Lists containing this project

README

          


Social Spam


Package for convenient work with messages in all popular instant messengers

 


GitHub stars
GitHub forks
GitHub license
GitHub issues

 

On the current version, you have access to the following messengers: Telegram, WhatsApp, Vkontakte, Email.

## Documentation
If you want to get acquainted with examples of using this package, you can follow the link of interest.

- [Examples of interaction with Telegram](https://github.com/neluckoff/social_spam/blob/master/examples/telegram_examples.py)
- [Examples of interaction with Vkontakte](https://github.com/neluckoff/social_spam/blob/master/examples/vkontakte_examples.py)
- [Examples of interaction with WhatsApp](https://github.com/neluckoff/social_spam/blob/master/examples/whatsapp_examples.py)
- [Examples of interaction with Email](https://github.com/neluckoff/social_spam/blob/master/examples/mail_examples.py)

## Installation
You can install the latest version with the command:

```shell
pip install social-spam
```
Or you can install from GitHub:

```shell
pip install -U https://github.com/neluckoff/social_spam/archive/master.zip
```

## Sending an email
**[More examples here!](https://github.com/neluckoff/social_spam/blob/master/examples/)**

```python
from social_spam import Mail

mail = Mail()
mail.connect_mail('test@inbox.ru', 'my_password')

mail.set_message('Message from luckoff', 'How are you?', ['image.png'])
mail.send_message('friend@gmail.com')
```

## Contributing
I have a positive attitude towards PR and pull requests. Glad to see that people like the package.

- Creator: [@neluckoff](https://github.com/neluckoff)

## License

- Copyright © 2022 [neluckoff](https://github.com/neluckoff).
- This project is [MIT](https://github.com/neluckoff/social_spam/blob/master/LICENSE.md) licensed.