completed financials

This commit is contained in:
Boki 2025-06-29 21:42:01 -04:00
parent f01efb4698
commit 88a5fa5da0
2 changed files with 21 additions and 1 deletions

View file

@ -62,7 +62,7 @@ export async function updateFinancials(
currency: 'true',
lang: 'en',
latestfiscaldate: 'true',
numberOfReports: lastRecordDate ? '5' : '300',
numberOfReports: lastRecordDate ? '5' : '250',
pathName: '/demo/portal/company-research.php',
qmodTool: 'Financials',
reportType: reportType,

View file

@ -58,3 +58,23 @@ export function getQmHeaders(): Record<string, string> {
Referer: 'https://www.quotemedia.com/',
};
}
curl 'https://app.quotemedia.com/datatool/getFinancialsEnhancedBySymbol.json?currency=true&lang=en&latestfiscaldate=true&numberOfReports=300&pathName=%2Fdemo%2Fportal%2Fcompany-research.php&qmodTool=Financials&reportType=Q&symbol=AAPL&webmasterId=500' \
-H 'accept: */*' \
-H 'accept-language: en' \
-H 'cache-control: no-cache' \
-b 'JSESSIONID=4960DF4F7AFADB62E678C6128553FAA3' \
-H 'datatool-token: 0401d87a798899b5185fd0dae4d6829c3d1db7c15f44571637556a606b5a4474' \
-H 'origin: https://client.quotemedia.com' \
-H 'pragma: no-cache' \
-H 'priority: u=1, i' \
-H 'referer: https://client.quotemedia.com/' \
-H 'sec-ch-ua: "Google Chrome";v="137", "Chromium";v="137", "Not/A)Brand";v="24"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "Linux"' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: same-site' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36' \
-o 'test.json'