{"id":7249779,"date":"2016-04-07T14:58:59","date_gmt":"2016-04-07T14:58:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wp-cli-in-python\/"},"modified":"2016-08-31T15:34:06","modified_gmt":"2016-08-31T15:34:06","slug":"wp-cli-in-python","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wp-cli-in-python\/","title":{"rendered":"WP CLI in Python?"},"content":{"rendered":"<p>I wrote a bash script to run wp cli commands automatically. However I need to run it on a windows server, so I can&#8217;t run bash. So I was thinking python.<\/p>\n<p>Except, I don&#8217;t know much about python. Could anyone get me started?<\/p>\n<p>or, is there a better way? I&#8217;ve already asked and my ops teams doesn&#8217;t want to install win-bash or any other program to run bash scripts on windows servers.<\/p>\n","protected":false},"template":"","class_list":["post-7249779","topic","type-topic","status-publish","hentry","topic-tag-bash","topic-tag-cli","topic-tag-python","topic-tag-sh","topic-tag-wp-cli"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7249779","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\/7249779\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7249779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}