Three ways to upload your data into SharePoint with Client-Side Object Model
Getting data via Microsoft Graph
How to get and set Enterprise Custom Field values using the client-side object model (CSOM).