Sha256: 2549c6b7e170606ba2f75aa41bf8fb04a74968ce1967a544a291f4d6a4d0f998

Contents?: true

Size: 885 Bytes

Versions: 8

Compression:

Stored size: 885 Bytes

Contents

.. module:: twilio.rest.resources

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

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

For more information, see the `Transcriptions REST Resource
<http://www.twilio.com/docs/api/rest/transcription>`_ documentation.


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

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

.. code-block:: ruby

    require 'twilio-ruby'

    # To find these visit https://www.twilio.com/user/account
    account_sid = "ACXXXXXXXXXXXXXXXXX"
    auth_token = "YYYYYYYYYYYYYYYYYY"

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
twilio-ruby-3.14.2 docs/usage/transcriptions.rst
twilio-ruby-3.14.1 docs/usage/transcriptions.rst
twilio-ruby-3.14.0 docs/usage/transcriptions.rst
twilio-ruby-3.13.1 docs/usage/transcriptions.rst
twilio-ruby-3.13.0 docs/usage/transcriptions.rst
twilio-ruby-3.12.3 docs/usage/transcriptions.rst
twilio-ruby-3.12.2 docs/usage/transcriptions.rst
twilio-ruby-3.11.0 docs/usage/transcriptions.rst