Metadata-Version: 2.0
Name: messenger-api
Version: 0.5.1
Summary: Unofficial Facebook Messenger library for Python 2.6+ / Python 3.4+ / pypy
Home-page: https://github.com/JuniorJPDJ/messenger_api
Author: JuniorJPDJ
Author-email: juniorjpdj@interia.pl
License: LGPLv3+
Keywords: messenger facebook
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Communications :: Chat
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
Requires-Dist: requests

Messenger API: Unoffical Facebook Messenger API
===============================================


Installation
------------

Just use pip, as you would with all packages

.. code-block:: bash

    $ pip install messenger-api


Documentation
-------------

There's no docs, I'm sorry.
Some day I'll do it.


Examples
--------

Simple example of sending message to thread

.. code-block:: python

    >>> from messenger_api import Messenger
    >>> msg = Messenger('login', 'password')
    >>> thread = msg.get_thread(485734986798)
    >>> thread
    <messenger_api.Thread.GroupThread: "Random chat name" (485734986798)>
    >>> thread.send_message("TEST MESSAGE!")
    <messenger_api.Message.Message object at 0x000000262414AFD0>

Message sent! :)

Soon you will be able to find some examples in `examples` directory


Contribute
----------

I will appriciate pull requests, but if you want to help you even can just let me know that it stopped working..
I'm not using this library at everyday use and I don't have time to check if Facebook made any changes that breaks compatibility.


