Metadata-Version: 2.1
Name: connectify
Version: 0.1.4
Summary: Different Python I/O handlers
Home-page: https://github.com/muladzevitali/connectify
Author: Vitali Muladze
Author-email: muladzevitali@gmail.com
Project-URL: Bug Tracker, https://github.com/muladzevitali/connectify/issuesL
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: slack-sdk ==3.22.0
Requires-Dist: aiohttp ==3.8.5
Requires-Dist: facebook-sdk ~=3.1.0
Requires-Dist: python-dotenv ==1.0.0

# Connectify

![Static Badge](https://img.shields.io/badge/version-0.1.4-green)

**Connectify** provides convenient Python interfaces to interact with popular **I**/**O** services such as **Slack**,
**Facebook**, databases etc.

## Slack services

### Supported actions

Currently, we support the following functionalities from Slack API inside SlackConnection/AsyncSlackConnection classes

- [x] [channel_conversation_history](connectify/slack_services/slack_connection.py) - Get channel conversion history for
  given channel
- [x] [get_channel_latest_message](connectify/slack_services/slack_connection.py) - Fetch latest message from specific
  channel
- [x] [send_text_message](connectify/slack_services/slack_connection.py) - Send text type message to specific channel
- [x] [send_scheduled_text_message](connectify/slack_services/slack_connection.py) - Schedule text message send for
  specific time
- [x] [send_file_message](connectify/slack_services/slack_connection.py) - Send file to channel

> [!NOTE]
> Full documentation is available in [readme.md](connectify/slack_services/readme.md)

## Facebook Graph API connection

### Supported actions

Currently, we support the following functionalities from Graph API inside FacebookConnection class

- [x] [get_login_url](facebook_connection.py) - Generate login URL with given scope of permissions to get access code
  and
  then access token from Graph API
- [x] [get_ads_related_auth_url](facebook_connection.py) - Generate login URL for ads related permissions
- [x] [get_access_token](facebook_connection.py) - Get access token from the access code fetched from the steps 1 or 2
- [x] [get_ad_accounts](facebook_connection.py) - Get ad accounts existing under the access token initialize the class
  with.
- [x] [get_ad_account_campaigns](facebook_connection.py) - Get campaigns under given ad account
- [x] [get_ad_campaign_ad_sets](facebook_connection.py) - Get ad sets under given campaign
- [x] [get_ad_set_ads](facebook_connection.py) - Get ads under given ad set

> [!NOTE]
> Full documentation is available in [readme.md](connectify/facebook_services/readme.md)
