Sha256: 5aad0b1f1a5c54adfe5dd27d4ec3706e24c2e5c91b9b5bb3e33e189669706ad0

Contents?: true

Size: 930 Bytes

Versions: 2

Compression:

Stored size: 930 Bytes

Contents

.. module:: restcomm.rest.resources

================
Transcriptions
================

Transcriptions are generated from recordings via the
`RCML <Record> verb <http://www.restcomm.com/docs/api/twiml/record>`_.
Using the API, you can only read your transcription records.

For more information, see the `Transcriptions REST Resource
<http://docs.telestax.com/restcomm-pages/>`_ documentation.


Listing Your Transcriptions
----------------------------

The following code will print out the length of each :class:`Transcription`.

.. code-block:: ruby

    require 'restcomm-ruby'

    # To find these visit http://docs.telestax.com/restcomm-pages/
    account_sid = "ACXXXXXXXXXXXXXXXXX"
    auth_token = "YYYYYYYYYYYYYYYYYY"
    host = "XXX.XXX.XXX.XXX"


    @client = Restcomm::REST::Client.new account_sid, auth_token, host
    @client.transcriptions.list().each do |transcription|
      puts transcription.duration
    end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
restcomm-ruby-1.2.1 docs/usage/transcriptions.rst
restcomm-ruby-1.2.0 docs/usage/transcriptions.rst