Announcing the

🚀Announcing the Official EarningsCall JavaScript Client with TypeScript Support!

by EarningsCall Editor

12/15/2024

We’re thrilled to announce the release of the official EarningsCall JavaScript client library—complete with TypeScript type definitions. This new toolkit makes it easier than ever to tap into EarningsCall’s comprehensive API, empowering developers to quickly integrate and leverage corporate earnings call data.

 

🌟 Highlights

  • Simple Installation & Integration: Easily add the library to your existing JavaScript or TypeScript projects.

  • TypeScript-Ready: Benefit from improved type safety and enhanced productivity out of the box.

  • Rich API Coverage: Access transcripts, historical data, speaker details, word-level timestamps, and more.

  • Broad Company Coverage: Explore insights from over 5,000 companies across global markets.

  • No External Dependencies: Built solely on standard JavaScript/Node.js capabilities.

  • Compact Bundle (~4KB minified): Keep your application lean without sacrificing functionality.

 

Installation

Install the library via npm:

npm install earningscall

 

Getting Started

🚀 Examples

import { getCompany } from "earningscall";

const company = await getCompany({ symbol: "AAPL" });
console.log(`Company: ${company.companyInfo.name}, Sector: ${company.companyInfo.sector}`);

const transcript = await company.getTranscript({ year: 2023, quarter: 4 });
console.log(`Transcript Excerpt: "${transcript?.text.slice(0, 100)}..."`);