Metadata-Version: 2.0
Name: aiohttp-sendgrid
Version: 0.0.2
Summary: SendGrid mail send API wrapper
Home-page: https://github.com/kurlov/aiohttp-sendgrid
Author: Aleksandr Kurlov
Author-email: sasha.kurlov@yandex.com
License: MIT
Download-URL: https://pypi.python.org/pypi/aiohttp-sendgrid
Keywords: aiohttp sendgrid
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Operating System :: POSIX
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Communications :: Email
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Framework :: AsyncIO
Requires-Dist: aiohttp (>=2.3.7)

aiohttp-sendgrid
================
SendGrid mail API wrapper

Installation
------------
``pip install aiohttp_sendgrid``

Basic Usage
-----------
.. code:: python

    import asyncio
    from aiohttp_sendgrid import Sendgrid
    mailer = Sendgrid()
    to = 'to@example.com'
    sender = 'from@example.com'
    subject = 'greetings'
    content = '<h1>Hello</h1>'
    send_mail = mailer.send(to, sender, subject, content)
    loop = asyncio.get_event_loop()
    loop.run_until_complete(send_mail)


