Skip to content

Instantly share code, notes, and snippets.

@janlukasschroeder
Created June 12, 2022 13:31
Show Gist options
  • Save janlukasschroeder/dc987d0080cebbc98da4be205a951dd7 to your computer and use it in GitHub Desktop.
Save janlukasschroeder/dc987d0080cebbc98da4be205a951dd7 to your computer and use it in GitHub Desktop.
Extract section 1.01 "Entry into Material Definitive Agreement" from 8-K filings
from sec_api import ExtractorApi
extractorApi = ExtractorApi("YOUR_API_KEY")
filing_url = "https://www.sec.gov/Archives/edgar/data/66600/000149315222016468/form8-k.htm"
# extract section 1.01 "Entry into Material Definitive Agreement" as cleaned text
section_text = extractorApi.get_section(filing_url, "1-1", "text")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment