Products Info
=============
This package provides a zope view called ''products.info'' that exports all
installed products information in your zope2 application as JSON.
At zope startup it adds a property called ''edw-productsinfo-key''. Then you can
get this json like:

    http://myzopeinstance.com/products.info/<edw-productsinfo-key>

You can access it using zope.components

    >>> from zope.component import getMultiAdapter
    >>> view = getMultiAdapter((self.portal, self.portal.REQUEST), name=u'products.info')
    >>> view.publishTraverse(view.request, '123')
    '{"error": "Unauthorized: Token not set on this instance"}'

    >>> self.login('admin')
    >>> self.app.manage_addProperty(id='edw-productsinfo-key', type='string',
    ...                             value='md5autogeneratedkey')
    >>> self.logout()

    >>> view.publishTraverse(view.request, '123')
    '{"error": "Invalid authentication token"}'

    >>> view.publishTraverse(view.request, 'md5autogeneratedkey')
    '[{"version": ..., "name": ...}, ...]'

Load json

    >>> import simplejson
    >>> simplejson.loads(view.publishTraverse(view.request, 'md5autogeneratedkey'))
    [{'version': ..., 'name': ...}, ...]
