PowerShell – Using the WordPress Rest API
I just found out that meanwhile (since October last year) the Rest API for wordpress now also works on self-hosted wordpress sites. So i can now access the content of my blog through PowerShell. $posts = Invoke-RestMethod -uri “https://public-api.wordpress.com/rest/v1/sites/www.verboon.info/posts/?number=50” $posts.posts Read More …