MyChores API and a new theme

Today marks two new things on MyChores. Firstly, the very beginnings of an API, and secondly a new theme. Let’s talk about the theme first; i’ll come back to the API in a minute.

The new theme is called ‘Patience’. It’s grey and white, pale, blocky, and i couldn’t resist doing a bit of the diagonal fade effect that’s become so common all over the Internet.

new Patience theme

To celebrate our fourth theme, there is a new tab in the preferences section, just for Themes. I also include links to the CSS because i want to encourage you all to make your own themes, using mine as examples. I’m well aware that many people can do a much better job of user interface than i can. So if you fancy having a go, please feel free.

Oh yes, i must mention that my lovely hamster, Suzie, helped to make this theme with me!

Suzie helps me out with a spot of CSS

Okay, now on to the API. Just now there isn’t a lot, in fact, all you can do is get a few statistics. I’m starting slowly, well aware that i can add to an API but it’ll be hard to change or take anything away. All the API resources will be available in both XML and JSON format. Most will require HTTP Basic Authentication, but Site Statistics does not.

Check www.mychores.co.uk/api for further instructions, and for more API resources coming soon, and have a look at this page to see how i have made a very simple HTML page which reads the JSON and displays statistics in an interesting(ish!) format.

I plan to expose resources such as ‘My Tasks’, ‘My Teams’, ‘Mark Task as Done’. I’m really hoping somebody will be able to use these to come up with a nice little Yahoo! widget or Google gadget …!

Leave a Reply