Skip to content

Commit

Permalink
updaet readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dcb6 committed May 22, 2024
1 parent d96dd4a commit fa3b797
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ AssemblyAI aai = AssemblyAI.builder()
.apiKey("YOUR_API_KEY")
.build();

TranscriptResponse transcriptResponse =
aai.transcript().get("transcript-id");
Transcript transcript = aai.transcripts().get("transcript-id");

System.out.printlin("Received response!" + transcriptResponse);
System.out.printlin("Received response!" + transcript);
```

### Handling Errors
Expand Down

0 comments on commit fa3b797

Please sign in to comment.