Mobile: For developers, What about doing an API to support Contacts/Calendars/Badges…in mobile having native access?

Just thinking if plugins developers have an API, for example, to access calendar events, they can convert Logseq in a great TODO manger allowing to query and modify such events. What do you think?