speaker_text 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -28,7 +28,7 @@ Usage Examples
28
28
 
29
29
  Install
30
30
 
31
- gem install speakertext
31
+ gem install speaker_text
32
32
 
33
33
  Initialize the API with a key
34
34
 
@@ -41,7 +41,7 @@ Submit a media file URL for transcription
41
41
 
42
42
  Submit a media file hosted on a platform (e.g., YouTube, Vimeo, SoundCloud)
43
43
 
44
- status, transcript_id = st.transcribe(platform: 'youtube', id: youtube_video_id)
44
+ success, transcript_id = st.transcribe(platform: 'youtube', id: youtube_video_id)
45
45
 
46
46
  Check the status of the transcription process
47
47
 
@@ -24,8 +24,8 @@ if !config.include?('api_key') || config['api_key']==''
24
24
  end
25
25
 
26
26
  st = SpeakerText.new(config['api_key'])
27
- status, transcript_id = st.transcribe(platform: 'youtube', id: video_id)
28
- if status
27
+ success, transcript_id = st.transcribe(platform: 'youtube', id: video_id)
28
+ if success
29
29
  puts "Success: Transcript ID is #{transcript_id}"
30
30
  else
31
31
  puts "Error: #{transcript_id}"
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.0'
8
+ VERSION = '1.0.1'
9
9
 
10
10
  def initialize(api_key)
11
11
  self.class.basic_auth api_key,'x'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: speaker_text
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.0
5
+ version: 1.0.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Derrick Parkhurst