Sha256: 4cdc9acbb40cbfcb1467f77f248fe959d5c52bdeaf69025644e04840f77a0a13

Contents?: true

Size: 891 Bytes

Versions: 37

Compression:

Stored size: 891 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
    end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
twilio-ruby-4.13.0 docs/usage/transcriptions.rst
twilio-ruby-4.12.1 docs/usage/transcriptions.rst
twilio-ruby-4.11.1 docs/usage/transcriptions.rst
twilio-ruby-4.11.0 docs/usage/transcriptions.rst
twilio-ruby-4.10.0.edge docs/usage/transcriptions.rst
twilio-ruby-4.10.0 docs/usage/transcriptions.rst
twilio-ruby-4.9.1 docs/usage/transcriptions.rst
twilio-ruby-4.9.1.edge docs/usage/transcriptions.rst
twilio-ruby-4.9.0 docs/usage/transcriptions.rst
twilio-ruby-4.9.0.edge docs/usage/transcriptions.rst
twilio-ruby-4.8.0 docs/usage/transcriptions.rst
twilio-ruby-4.7.0 docs/usage/transcriptions.rst
twilio-ruby-4.8.3.edge docs/usage/transcriptions.rst
twilio-ruby-4.8.2.edge docs/usage/transcriptions.rst
twilio-ruby-4.8.1.edge docs/usage/transcriptions.rst
twilio-ruby-4.8.0.edge docs/usage/transcriptions.rst
twilio-ruby-4.6.2 docs/usage/transcriptions.rst
twilio-ruby-4.6.1 docs/usage/transcriptions.rst
twilio-ruby-4.6.0 docs/usage/transcriptions.rst
twilio-ruby-4.7.0.edge docs/usage/transcriptions.rst