
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
streetinsider-api
Advanced tools
npm install streetinsider-api
const api = require('streetinsider-api');
api.init('YOUR_TOKEN'); // set your API token
api.on('news', function handleNews(news) {
console.log(news); // news is a JSON object
console.log(news.headline); // print headline
// handle newly incoming article
});
{
distributor: 'GW2',
id: 14963798,
datePublished: '2019-01-02 09:43:02',
headline: 'OraSure Technologies, Inc.:Â Updated Release to Clarify Timing of Presentation',
categories: [ 'Press Releases' ],
symbols: [ 'OSUR' ],
link: 'https://www.streetinsider.com/Press+Releases/OraSure+Technologies,+Inc.:Â%C2%A0Updated+Release+to+Clarify+Timing+of+Presentation/14963798.html',
markets: [ 'NQ' ],
entities: [ 80 ],
important: false
}
Initialises the API with your API token.
token
(string) - represents your API tokenEvent listener listening for newly incoming news. Calls the callback function as soon as a new article arrived.
message
(string) - always set to news
callback
(function) - used to handle a newly incoming article.distributor
(string, optional) - abbreviation of the article distributor, e.g. PN
, or BW
id
(int, optional) - unique article id, e.g. 14963826
. Is not always set.datePublished
(string) - publication date and time, e.g. 2019-01-02 09:56:20
headline
(string) - headline of the article, e.g. 'Excelitas Technologies Completes Acquisition of Axsun Technologies
body
(string, optional) - article body (can be HTML), e.g. <p>Baird analyst Mark Altschwager lowered the ...
categories
(array) - an array of article categories, e.g. [ 'Press Releases' ]
symbols
(array) - array of tickers the article relates to, e.g. [ 'JHML', 'JHSC' ]
link
(string) - article link, e.g. https://www.streetinsider.com/Press+Releases/SME+Education+Foundation+Names+Rob+Luce+Vice+President/14963849.htmlmarkets
(array) - array of markets the article relates to, e.g. [ 'NY' ]
FAQs
streetinsider.com real-time news API
We found that streetinsider-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.