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 of the data.
Description of the series.
Earnings:
time: report date (unix time stamp)
open: estimate value
low: reported value
close: actual value
high: fiscal period (unix time stamp)
Splits:
time: split date (unix time stamp)
close: split denominator
open: split numerator
Dividends:
time: ex-dividend date (unix time stamp)
close: amount