Metadata-Version: 2.1
Name: aio-recaptcha
Version: 0.0.9
Summary: Recaptcha v2 and v3
Home-page: https://github.com/omarryhan/aio-recaptcha
Author: Omar Ryhan
Author-email: omarryhan@gmail.com
License: MIT
Description: <p align="center">
          <img src="https://www.iprodev.com/wp-content/uploads/fraud-bot-home.png" alt="Logo" title="AioRecaptcha" height="200" width="200"/>
          <p align="center">
            <a href="https://travis-ci.org/omarryhan/aio-recaptcha"><img alt="Build Status" src="https://travis-ci.org/omarryhan/aio-recaptcha.svg?branch=master"></a>
            <a href="https://github.com/omarryhan/aio-recaptcha"><img alt="Software License" src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square"></a>
            <a href="https://github.com/python/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg" /></a>
            <a href="https://pepy.tech/badge/aio-recaptcha"><img alt="Downloads" src="https://pepy.tech/badge/aio-recaptcha"></a>
            <a href="https://pepy.tech/badge/aio-recaptcha/month"><img alt="Monthly Downloads" src="https://pepy.tech/badge/aio-recaptcha/month"></a>
          </p>
        </p>
        
        # Async Recaptcha V2 & V3
        
        ## Setup ⚙️
        
        ```bash
        $ pip install aio-recaptcha
        ```
        
        ## Usage
        
        ```python 3.7
        import aiorecaptcha
        
        @app.route('/')
        def render_recaptcha():
            render(aiorecaptcha.html(site_key='your_site_key') + aiorecaptcha.js())
        
        @app.route('/verify', methods=['POST'])
        async def verify_recaptcha(response_received_from_form):
            try:
                await aiorecaptcha.verify(secret=client_secret, response=response_recieved_from_form)
        
            except recaptcha.RecaptchaError:
                return 'No! Only hoomans!'
        
            else:
                return 'Hello hooman!'
        ```
        
        ## API:
        
            js()
            html()
            coro verify()
            exc RecaptchaError
        
        ## Test
        
        Run:
        
        ```bash
        $ aio-recaptcha/test.sh
        ```
        
        ## Contact 📧
        
        I currently work as a freelance software devloper. Like my work and got a gig for me?
        
        Want to hire me fulltime? Send me an email @ omarryhan@gmail.com
        
        ## Buy me a coffee ☕
        
        **Bitcoin:** 3NmywNKr1Lzo8gyNXFUnzvboziACpEa31z
        
        **Ethereum:** 0x1E1400C31Cd813685FE0f6D29E0F91c1Da4675aE
        
        **Bitcoin Cash:** qqzn7rsav6hr3zqcp4829s48hvsvjat4zq7j42wkxd
        
        **Litecoin:** MB5M3cE3jE4E8NwGCWoFjLvGqjDqPyyEJp
        
        **Paypal:** https://paypal.me/omarryhan
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
