pub struct Transcripts { /* private fields */ }Expand description
Transcripts & Communications API endpoints
Implementations§
Source§impl Transcripts
impl Transcripts
Sourcepub async fn get_transcript_list(
&self,
symbol: &str,
year: Option<i32>,
) -> Result<Vec<TranscriptSummary>>
pub async fn get_transcript_list( &self, symbol: &str, year: Option<i32>, ) -> Result<Vec<TranscriptSummary>>
Get earnings call transcripts list
Returns a list of available earnings call transcripts for a company. Useful for discovering available transcripts before fetching full content.
§Arguments
symbol- Company symbol (e.g., “AAPL”)year- Optional year filter (e.g., 2024)
§Example
let client = FmpClient::new()?;
let transcripts = client.transcripts().get_transcript_list("AAPL", Some(2024)).await?;
for transcript in transcripts.iter().take(5) {
println!("{} {} {}: {}",
transcript.symbol.as_deref().unwrap_or("N/A"),
transcript.quarter.as_deref().unwrap_or("N/A"),
transcript.year.unwrap_or(0),
transcript.date.as_deref().unwrap_or("N/A"));
}Sourcepub async fn get_earnings_transcript(
&self,
symbol: &str,
year: i32,
quarter: i32,
) -> Result<Vec<EarningsTranscript>>
pub async fn get_earnings_transcript( &self, symbol: &str, year: i32, quarter: i32, ) -> Result<Vec<EarningsTranscript>>
Get full earnings call transcript
Returns the complete transcript content for a specific earnings call. Contains the full Q&A session with management and analysts.
§Arguments
symbol- Company symbol (e.g., “AAPL”)year- Year of the earnings callquarter- Quarter number (1, 2, 3, or 4)
§Example
let client = FmpClient::new()?;
let transcript = client.transcripts().get_earnings_transcript("AAPL", 2024, 1).await?;
if let Some(call) = transcript.first() {
println!("Transcript for {} {} {}:",
call.symbol.as_deref().unwrap_or("N/A"),
call.quarter.as_deref().unwrap_or("N/A"),
call.year.unwrap_or(0));
if let Some(content) = &call.content {
println!("Content length: {} characters", content.len());
}
}Sourcepub async fn get_press_releases(
&self,
symbol: &str,
limit: Option<i32>,
) -> Result<Vec<PressRelease>>
pub async fn get_press_releases( &self, symbol: &str, limit: Option<i32>, ) -> Result<Vec<PressRelease>>
Get press releases for a company
Returns recent press releases and corporate announcements. Useful for staying updated on company news and developments.
§Arguments
symbol- Company symbol (e.g., “AAPL”)limit- Optional limit on number of results (default: 100)
§Example
let client = FmpClient::new()?;
let releases = client.transcripts().get_press_releases("AAPL", Some(10)).await?;
for release in releases.iter().take(5) {
println!("{}: {}",
release.date.as_deref().unwrap_or("N/A"),
release.title.as_deref().unwrap_or("No title"));
if let Some(summary) = &release.summary {
println!(" Summary: {}", summary);
}
}Sourcepub async fn get_conference_schedule(
&self,
from_date: Option<&str>,
to_date: Option<&str>,
) -> Result<Vec<ConferenceCall>>
pub async fn get_conference_schedule( &self, from_date: Option<&str>, to_date: Option<&str>, ) -> Result<Vec<ConferenceCall>>
Get conference call schedule
Returns upcoming and recent conference calls across companies. Useful for tracking earnings dates and investor events.
§Arguments
from_date- Optional start date (YYYY-MM-DD format)to_date- Optional end date (YYYY-MM-DD format)
§Example
let client = FmpClient::new()?;
let calls = client.transcripts()
.get_conference_schedule(Some("2024-01-01"), Some("2024-01-31")).await?;
for call in calls.iter().take(10) {
println!("{}: {} - {}",
call.date_time.as_deref().unwrap_or("N/A"),
call.symbol.as_deref().unwrap_or("N/A"),
call.title.as_deref().unwrap_or("No title"));
}Auto Trait Implementations§
impl Freeze for Transcripts
impl !RefUnwindSafe for Transcripts
impl Send for Transcripts
impl Sync for Transcripts
impl Unpin for Transcripts
impl !UnwindSafe for Transcripts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more