Metadata-Version: 2.1
Name: preferred_pictures
Version: 0.2
Summary: A client for the Preferred.pictures API that makes integration easy
Home-page: https://github.com/preferred-pictures/python
Author: Preferred.pictures
Author-email: contact@preferred.pictures
License: MIT
Download-URL: https://github.com/preferred-pictures/python/archive/v_02.tar.gz
Description: # Preferred.pictures Python Client Library
        
        The [Preferred.pictures](https://preferred.pictures) Python library provides a convenient way to call the
        [Preferred.pictures](https://preferred.pictures) API for applications written in Python.
        
        ## Installation
        
        ```
        $ pip install preferred_pictures
        ```
        
        ## Usage
        
        The package needs to be configured with your account's identity and
        secret key, which is available in the Preferred.pictures interface.
        
        ```python
        
        from preferred_pictures import Client
        
        pp = Client("testidentity", "secret123456")
        url = pp.create_choose_url(["red", "green", "blue"], "test-tournament", )
        
        # The URL returend will appear to be something like:
        #
        # https://api.preferred.pictures/choose-url?choices=red%2Cgreen%2Cblue&tournament=test-tournament&expiration=1594865959&uid=184ae09f-a081-4784-9ddc-54dc18487e8f&ttl=600&identity=testidentity&signature=d5691ae9dd1a8b715504cf2fd925b6d29db8176a7d74c8e00f07fdddb70ae990
        #
        ```
        
        ## License
        
        This client uses the MIT license.
        
Keywords: preferred.pictures,optimization
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Environment :: Web Environment
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
