Best approach for importing numerous posts from API data?

Best approach for importing numerous posts from API data?