{"id":6152378,"date":"2015-05-21T03:11:11","date_gmt":"2015-05-21T03:11:11","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-to-add-articlepost-via-external-php-code\/"},"modified":"2016-08-24T16:28:20","modified_gmt":"2016-08-24T16:28:20","slug":"how-to-add-articlepost-via-external-php-code","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-to-add-articlepost-via-external-php-code\/","title":{"rendered":"How to add article\/post via external PHP code?"},"content":{"rendered":"<p>I need to Add post\/article from my local text files to a WordPress website via php script (that can make also parse raw text files to a WP format). Is there any API or something like that?<\/p>\n","protected":false},"template":"","class_list":["post-6152378","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6152378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6152378\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6152378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}