I don’t think there is a way export parts of the database.
There are ways to access some of the items you described using WebDAV (curl or some script) but this requires user auth - in other words you can only access you own data but not data from others.
here is a thread about contacts - but again only for the user himself: