It's not pretty, but here it is. Thanks to Kevin Mandeville @ CC or this would have never worked. And the only reason I'm posting this is BECAUSE he helped me. I personally think the docs and the API for CC need a tremendous amount of work. There are three main functions to know. Calling url, posting a named param list, posting an atom entry. Here are some examples. Note they aren't complete because of cut and paste but you should have everything you need. This is posting a named param set, ie, adding email address in. This is how to retrieve a list
****email me at email@example.com for a clean copy of this post..
Please note that the above example adds only one contact using Activities resource, but the Activities resource is only recommended for adding more than 25 contacts. Please refer the documentation on the Activities resource to see how you can add more contacts to the example code above.
To add one contact, please use the Contacts resource.