There's an API for earnings, add the capability to return dates for:
  • ex-dividend date
  • dividend payment date