Skip to main content

Simple library to generate URLs for recordit API

Project description

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

Project details


Release history Release notifications

This version
History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
recordit-url-builder-1.0.0.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Jul 29, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page