Skip to main content

A Python package for ManyChat API.

Project description

ManyChat Python Package

This is an unofficial Python package for an easy use of the ManyChat API.

Installation

pip install manychat

Usage

from manychat import ManyChat

mc = ManyChat('YOUR_MANYCHAT_API_KEY')

# Page
page_info = mc.fb.page.get_info()

# Sending
send_flow = mc.fb.sending.send_flow(
    subscriber_id='SUBSCRIBER_ID',
    flow_ns='content20210489114753_47763' # this is just an example
)

# Subscriber
subscriber_info = mc.fb.subscriber.get_info(
    subscriber_id='SUBSCRIBER_ID'
)

To see more examples, please go to: tests/manychat_tests.py
GitHub Repo: https://github.com/daiangan/manychat-python

Some Notes:

All methods are named using the Python function naming rules: lowercase with words separated by underscores as necessary to improve readability.
So, for example, the ManyChat endpoint /fb/sending/sendFlow is translated to: fb.sending.send_flow()
More info about Style Guide for Python Code.

Please read the official ManyChat API Documentation for more details:
https://api.manychat.com/

About this project

This project is created and maintained by:
Daian Gan
Github: daiangan
E-mail: daian@ganmedia.com
Website: https://daiangan.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manychat-1.0.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manychat-1.0.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file manychat-1.0.1.tar.gz.

File metadata

  • Download URL: manychat-1.0.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.1

File hashes

Hashes for manychat-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e689917cb7c5f2b0b7259f74593c155bf6dcf91d435191a9ca776a5c60d20e56
MD5 ea5677a30d061e90375271ea37d7af86
BLAKE2b-256 8555f255d616c1809ded491b328ee1265637fbec3d39c9bb49993777f3cdb552

See more details on using hashes here.

File details

Details for the file manychat-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: manychat-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.1

File hashes

Hashes for manychat-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b785a7154567ca312c44dba92d6ebae65b12e96ebeccd7241853f9618e9c60ab
MD5 269e67d56567e6fa6a35c3363f53d824
BLAKE2b-256 83108e1b410543a4bc791552a2255033d26ee5973f96b461e350484276f21ecb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page