Project

General

Profile

Actions

Action Item #606

closed

Verify GAPI is decoding JSON based on current API

Added by Hammel about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Speech-to-Text
Target version:
Start date:
28 Jan 2018
Due date:
% Done:

100%

Estimated time:
Severity:
02 - High

Description

The existing GAPI code handled the non-public Google API. Now it needs to handle the public API correctly.

It currently works, as far as I can tell, but I don't the GAPI code is correct. I need to verify that it's still valid, and remove the v1 vs v2 methods since the current API is considered V1.

Actions #1

Updated by Hammel about 5 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 80

Looks like the old V2 handler is what the new V1 handler needs, so I just removed the old V1 handler and moved the old V2 handler to be the current V1 handler. That needs testing but the code already handles the JSON format described on the Google API documentation so I'm sure it will just work. In fact, I'm pretty sure I used -gapiv 2 when I tested recently, not realizing why that was necessary. Now I now.

Can't close this till the code is committed and pushed, and I need to test this before I can do that.

Actions #2

Updated by Hammel about 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 80 to 100

Verified working.

Committed and pushed.

Closing issue.

Actions

Also available in: Atom PDF