In case anybody is wondering which Python library is the easiest to use, it's chargify-python. Although the doc calls it "simple" and lists it last, it's actually more powerful and easier to use than pychargify. I tried pychargify, but it didn't even work for one of the calls I needed. I've got no affiliation with either library. Just trying to save people some time.
Robert - I have been trying to use Java with Restlet.org to integrate to Chargify. It is becoming a pain to do. Do you have a full integration or partial running? How has Jersey and JAXB to work with? Would you be contributing your integration back to Chargify at some point or making open source?
January 07, 2012 01:12 am.
Robert Hopwood
Hi Jeff,
The code is not really at the level of quality (IMO) to publish. But perhaps at some point... I do have things running fully using these technologies. We call into the API, plus receive Web Hooks as well. I don't know if what I did is any less of a pain than restlet! But who knows? All-in-all, once I had the JAXB marshalling working, things started falling together nicely. Attached is a ChargifyUtil class that might help give an idea.
Comments
In case anybody is wondering which Python library is the easiest to use, it's chargify-python. Although the doc calls it "simple" and lists it last, it's actually more powerful and easier to use than pychargify. I tried pychargify, but it didn't even work for one of the calls I needed. I've got no affiliation with either library. Just trying to save people some time.
The link to the one Java example is 404. https://github.com/IntroSpectrum/chargify-scala
If anyone is looking to use Java and wold like a hint, we are using a little bit of Jersey (http://jersey.java.net/) and JAXB (http://jaxb.java.net/) to integrate to Chargify
Robert - I have been trying to use Java with Restlet.org to integrate to Chargify. It is becoming a pain to do. Do you have a full integration or partial running? How has Jersey and JAXB to work with? Would you be contributing your integration back to Chargify at some point or making open source?
Hi Jeff,
The code is not really at the level of quality (IMO) to publish. But perhaps at some point... I do have things running fully using these technologies. We call into the API, plus receive Web Hooks as well. I don't know if what I did is any less of a pain than restlet! But who knows? All-in-all, once I had the JAXB marshalling working, things started falling together nicely. Attached is a ChargifyUtil class that might help give an idea.
PS. The JAXB with annotations depends on Java 1.6. Here is another file that is an example of a Chargify object represented as a annotated POJO.