CFPownce 0.11a Released

After noodling around in Service Capture to watch the calls that were being made from the Pownce AIR file, I began working on a CFC to interact with the unofficial Pownce API.

After numerous attempts and a great deal of pain figuring out as well as help from the newly created PownceAPI Google Group, I got my CFC to work.

Currently you can only get all your notes from Pownce. But this is a great start! The hardest part about that was the password digest authentication string that you have to pass to Pownce. Everything else is just a matter of method calls.

I dropped the project into Google Code as well as RIAForge.

My planned features for this are:

  • Add ability to post notes
  • Add ability to post links
  • Add ability to post files
  • Get only specific notes by date, type etc.
  • Build a HTML webpage client
  • Build a Flex webpage client

Pownce API Explained

After numerous attempts of interacting with the Pownce API (based on what I was digging through in the communications between the AIR client and the server) I still was not able to connect and get data. I was able to call /api/available/ and get a 200 OK, as well as /api/login/ and get a login token as well. But when it came to getting the list of posts via /api/notes/for/kylehayes/, I passed in the right information and compiled my WSSE passwordDigest as per the instructions, it still did not work.

However, through my Googling, I found someone that was trying to do exactly what I was trying to do, only instead of making the API calls in ColdFusion like I was, he was doing it in Python.

Well, Clint was successful last night. He managed to create a some functions in Python that are able to send the four different types of messages to the public. His post is rather detailed, but thanks to the simplicity of Python, most developers should be able to read it.

He also announced this morning, PyPounce on Google code.

Good job, Clint! The community is excited to jump in and get started.

P.S. Clint, listen to your boss...ColdFusion is a pretty neat language.