Web Services Client Implementations
As part of the Creative Commons Web Services project, Creative Commons provides client implementation which wrap the web services in a language-specific wrapper. The idea is to make it easy for developers to integrate licensing into their applications. Client implementations are licensed under the MIT License and can be reused in any application. We also welcome new implementations which support a different language or take a different approach which may be more appropriate for certain applications. See the Source Repository Policy for information on contributing to this project.
The sample implementations for different languages and environments are maintained in the api_client module in CVS. We currently provide the following:
- python The ccwsclient package provides a basic Python abstraction of the web services interface. For example usage, see rest-wx-client.py, which implements a simple graphical chooser using wxPython.
- java The api_client/java module in Subversion provides a port of the Python interface to Java, along with a sample SWT license chooser. Javadoc is available at http://api.creativecommons.org/doc/java/. NOTE This module needs refactoring; while functional, it will probably feel cumbersome and painful for experienced Java developers to use. Contact Nathan Yergler if interested in helping with improvements.
- PHP/Javascript The api_client/php/cc_ajax_chooser module in Subversion provides a PHP+Javascript AJAX'd license chooser. This is the code used in WpLicense, starting with version 0.8. See CC PHP-AJAX Chooser for documentation.
