# This example uses the official LaterPay Python client library from pypi.# You can find it here: https://github.com/laterpay/laterpay-client-python# To get started quickly, run:# $ virtualenv example# $ example/bin/pip install laterpay-client# $ example/bin/python#fromlaterpayimportLaterPayClient,ItemDefinition# get us a LaterPay clientlpc=LaterPayClient("your merchant-id","your API key")i=ItemDefinition(item_id="1000",pricing="EUR99",url="http://example.com/your-article-1000/",title="Example Article 1000")# Creates a Dialog URL, which can be used to purchase the item.url=lpc.get_add_url(i)