Can I get data in Splunk Cloud Platform?
and how can i get it (REST API, library in python,...)
Any help is appreciated
Splunk has a manual dedicated to getting data in. See https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Getstartedwithgettingdatain