Skip to content

Instantly share code, notes, and snippets.

View diveyez's full-sized avatar
😄
Life Is Good

diveyez diveyez

😄
Life Is Good
View GitHub Profile
@diveyez
diveyez / sec-api.py
Created January 30, 2022 20:08 — forked from janlukasschroeder/sec-api.py
SEC Filings API - Python 3.x Example
from sec_api import QueryApi
queryApi = QueryApi(api_key="YOUR_API_KEY")
query = {
"query": { "query_string": {
"query": "ticker:TSLA AND filedAt:{2020-01-01 TO 2020-12-31} AND formType:\"10-Q\""
} },
"from": "0",
"size": "10",