WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have started a very simple wordpress blog for a hockey pool I run. The site is located at: http://thekeeperpool.wordpress.com/

I manage the actual stats counting and player movement using a local application I made in c#. I have written some logic to output the HTML needed for the body of each persons team page. (e.g. http://thekeeperpool.wordpress.com/andrews-team/) Right now, I need to open up each of the 6 team pages, press the edit button to bring up the page's html, and then paste then new version of the body HTML in. I am looking for a way to automate this.

I have looked at the wordpress REST API, and it seems like it has the features I would need (http://developer.wordpress.com/docs/api/1/post/sites/%24site/posts/%24post_ID/) but I have no idea how to use this API. Am I headed in the right direction? How do I use this API in a script running on my local machine to access my blog, hosted by wordpress?

share|improve this question
I'm afraid your question is off-topic, according to the FAQ. This site is for the self-hosted version of WordPress, not WordPress.com. – vancoder Apr 17 '13 at 16:43
WordPress.com offers the same XML-RPC API like regular WordPress installations. – toscho Apr 17 '13 at 16:45
up vote 1 down vote accepted

Use the XML-RPC API to post to your blog. Windows Live Writer and other apps are using that too. I am not very familiar with that API, so I have no good examples. But you should find enough with the keyword. There are also many plugins with sample code.

share|improve this answer
This is the solution for me. Still looking in to it but there seems to be enough material out there. – Ben313 Apr 17 '13 at 17:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.