Use Wordpress API (what the REST of them there 2 pieces - one lame, the other is normal) is the most versatile option.
You can still import but to me personally it would be problematic to set up than using the API
Jamarcus.Koelpin answered on July 9th 19 at 11:16
For such purposes I wrote a function that pulled data from Camoesa and created entry Wordpress Post. But before that you need a hedgehog to see about categories, etc.