Skip to content

Latest commit

 

History

History
123 lines (88 loc) · 3.82 KB

File metadata and controls

123 lines (88 loc) · 3.82 KB

EarningsCallTranscripts

(earningsCallTranscripts())

Overview

Available Operations

  • get - Get Earnings Call Transcripts
  • getAudio - Get Earnings Call Transcript Audio Files

get

Get Earnings Call Transcripts

Example Usage

package hello.world;

import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetEarningsCallTranscriptsResponse;
import java.lang.Exception;
import java.util.List;

public class Application {

    public static void main(String[] args) throws Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetEarningsCallTranscriptsResponse res = sdk.earningsCallTranscripts().get()
                .tickers(List.of(
                    "<value>"))
                .callId(List.of(
                    "<id>"))
                .page(700347L)
                .pagesize(558834L)
                .call();

        if (res.modelsTranscriptSummaries().isPresent()) {
            // handle response
        }
    }
}

Parameters

Parameter Type Required Description
tickers List<String> Tickers
callId List<String> Call ID
page Optional<Long> Page
pagesize Optional<Long> Page Size

Response

GetEarningsCallTranscriptsResponse

Errors

Error Type Status Code Content Type
models/errors/APIException 4XX, 5XX */*

getAudio

Get Earnings Call Transcript Audio Files

Example Usage

package hello.world;

import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetEarningsCallTranscriptAudioFilesResponse;
import java.lang.Exception;
import java.util.List;

public class Application {

    public static void main(String[] args) throws Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetEarningsCallTranscriptAudioFilesResponse res = sdk.earningsCallTranscripts().getAudio()
                .tickers(List.of(
                    "<value>"))
                .callId(List.of(
                    "<id>"))
                .page(942138L)
                .pagesize(879999L)
                .call();

        if (res.modelsTranscriptSummaryAudios().isPresent()) {
            // handle response
        }
    }
}

Parameters

Parameter Type Required Description
tickers List<String> Tickers
callId List<String> Call ID
page Optional<Long> Page
pagesize Optional<Long> Page Size

Response

GetEarningsCallTranscriptAudioFilesResponse

Errors

Error Type Status Code Content Type
models/errors/APIException 4XX, 5XX */*