speaker_text 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/speaker_text.rb +6 -1
- metadata +1 -1
data/lib/speaker_text.rb
CHANGED
|
@@ -5,7 +5,7 @@ require 'json'
|
|
|
5
5
|
class SpeakerText
|
|
6
6
|
include HTTParty
|
|
7
7
|
base_uri "https://api.speakertext.com/v1"
|
|
8
|
-
VERSION = '1.0.
|
|
8
|
+
VERSION = '1.0.3'
|
|
9
9
|
|
|
10
10
|
def initialize(api_key)
|
|
11
11
|
self.class.basic_auth api_key,'x'
|
|
@@ -123,6 +123,11 @@ class SpeakerText
|
|
|
123
123
|
transcript(args)
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
+
def fetch_dfxp_transcript(args)
|
|
127
|
+
args.merge!(format: 'dfxp')
|
|
128
|
+
transcript(args)
|
|
129
|
+
end
|
|
130
|
+
|
|
126
131
|
def transcript_status(args)
|
|
127
132
|
id = args[:id]
|
|
128
133
|
|