Example of requesting Earnings, Splits, Dividends using pine-script.
That way is inner representation of data in TradingView, so it can be changed any time. It's just an example of requesting the data.
Description of the series.
Earnings:
time: report date
open: estimate value
low: reported value
close: actual value
high: fiscal period
Splits:
time: split date
close: split denominator
open: split numerator
Dividends:
time: ex-dividend date
close: amount