Metadata-Version: 1.0
Name: recordit-url-builder
Version: 1.0.0
Summary: Simple library to generate URLs for recordit API
Home-page: http://pypi.python.org/pypi/recordit-url-builder
Author: Ben Beltran
Author-email: ben@nsovocal.com
License: The MIT License (MIT)

Copyright (c) 2014 Ben Beltran

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Description: ===============================
        Recordit URL Builder for Python
        ===============================
        
        A simple tool to generate recordit URLs
        
        Usage
        =====
        ::
        
            from recordit.url import URLBuilder
            # or import recordit.url and use recordit.url.URLBuilder
        
            url_builder = URLBuilder(
              "f33dd06d1cd1fb6e94504c767e5ccd9d0f7cd039",     # your client ID
              "6d85ffe45dbc37f6e47bc443f6079dc26f61b3df"      # your secret
            )
        
            url_builder.generate({
                "fps": 12,
                "encode": "none",
                "action_url": "http://example.com/123",
                "callback": "http://example.com/api/123",
                "start_message": "This is the initial message",
                "end_message": "This is the end message",
                "width": 1280,
                "height": 720
            })
        
            # => recordit:f33dd06d1cd1fb6e94504c767e5ccd9d0f7cd039-565fcfbfe0c2e0c59be5
            9df7b3b73d42f564e6cc?fps=12&encode=none&action_url=http%3A%2F%2Fexample.com%
            2F123&callback=http%3A%2F%2Fexample.com%2Fapi%2F123&start_message=This%20is%
            20the%20initial%20message&end_message=This%20is%20the%20end%20message&width=
            1280&height=720
        
Platform: UNKNOWN
