{ "info": { "author": "dotzero", "author_email": "mail@dotzero.ru", "bugtrack_url": null, "classifiers": [], "description": "# Python Tilda.cc API\n\n[![PyPI](https://img.shields.io/pypi/v/tilda-api.svg)](https://pypi.python.org/pypi/tilda-api)\n[![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://travis-ci.org/dotzero/tilda-api-python)\n[![Build Status](https://travis-ci.org/dotzero/tilda-api-python.svg?branch=master)](https://travis-ci.org/dotzero/tilda-api-python)\n[![Code Coverage](https://scrutinizer-ci.com/g/dotzero/tilda-api-python/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dotzero/tilda-api-python/?branch=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/dotzero/tilda-api-python/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dotzero/tilda-api-python/?branch=master)\n\nAs complete as possible implementation of Tilda.cc API.\n\nThe project provides an almost exhaustive access to the Tilda.cc API, through an *object oriented* Python interface.\n\n## Features\n\n* Get projects list\n* Get project info\n* Get project info for export\n* Get pages list\n* Get short page info and body html code\n* Get full page info and full html code\n* Get short page info for export and body html code\n* Get full page info for export and body html code\n\n## Requires\n\n* python >= 2.6\n* python >= 3.2\n\n## Installation\n\n### From Pypi\n\nYou can install tilda-api-python using:\n\n pip install tilda-api\n\n### From source\n\n git clone https://github.com/dotzero/tilda-api-python\n cd tilda-api-python\n python setup.py install\n\n## Usage\n\nTo create an instance of the tilda.Client:\n\n >>> import tilda\n >>> api = tilda.Client(public='000000000000', secret='999999999999')\n\nTo get projects list:\n\n >>> projects = api.get_projects_list()\n >>> projects[0].to_dict()\n ... or\n >>> projects[0].id\n >>> projects[0].title\n\nTo get project info:\n\n >>> project = api.get_project(project_id=00000)\n >>> project.to_dict()\n ... or\n >>> project.id\n >>> project.title\n\nTo get project info for export:\n\n >>> project = api.get_project_export(project_id=00000)\n >>> project.to_dict()\n ... or\n >>> project.id\n >>> project.title\n\nTo get pages list:\n\n >>> pages = api.get_pages_list(project_id=00000)\n >>> pages[0].to_dict()\n ... or\n >>> pages[0].id\n >>> pages[0].title\n\nTo get short page info and body html code:\n\n >>> page = api.get_page(page_id=00000)\n >>> page.to_dict()\n ... or\n >>> page.title\n >>> page.html\n\nTo get full page info and full html code:\n\n >>> page = api.get_page_full(page_id=00000)\n >>> page.to_dict()\n ... or\n >>> page.title\n >>> page.html\n\nTo get short page info for export and body html code:\n\n >>> page = api.get_page_export(page_id=00000)\n >>> page.to_dict()\n ... or\n >>> page.title\n >>> page.html\n\nTo get full page info for export and body html code:\n\n >>> page = api.get_page_full_export(page_id=00000)\n >>> page.to_dict()\n ... or\n >>> page.title\n >>> page.html\n\n## License\n\nLicensed under the MIT license: http://www.opensource.org/licenses/mit-license.php", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dotzero/tilda-api-python", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "tilda-api", "package_url": "https://pypi.org/project/tilda-api/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tilda-api/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dotzero/tilda-api-python" }, "release_url": "https://pypi.org/project/tilda-api/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "A python implementation of the Tilda.cc API", "version": "0.2.1" }, "last_serial": 2156643, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "1676ae8a3dde11373c5b46be97132be9", "sha256": "8c53a7d6e07a65881af92d0031043fbfc73d177a0e506429c0bea1f3aa7cd4d3" }, "downloads": -1, "filename": "tilda_api-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "1676ae8a3dde11373c5b46be97132be9", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9695, "upload_time": "2016-03-17T14:06:24", "url": "https://files.pythonhosted.org/packages/95/49/c3509d883909c93f2366d5788c596d1fab6351274db0b052c465a15cf5c4/tilda_api-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac3d77035a6d47ed64caae0b09ee5631", "sha256": "e02612c8dc32ceca5e1f6aa1d2f61fa987f7ec8fe29eaa9e014e1fa15480e477" }, "downloads": -1, "filename": "tilda-api-0.1.tar.gz", "has_sig": false, "md5_digest": "ac3d77035a6d47ed64caae0b09ee5631", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3874, "upload_time": "2016-03-17T14:06:14", "url": "https://files.pythonhosted.org/packages/e3/cf/e6aecf173ae51002bf60d4353b523d7b06035fcd8aa01046dd8c8ca6147e/tilda-api-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "89a9b45d369cb1523f8104d612919956", "sha256": "51d67e6093d5590e7acced51171b0ecbaeac5764817f746398117b1927c93bd9" }, "downloads": -1, "filename": "tilda_api-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "89a9b45d369cb1523f8104d612919956", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9834, "upload_time": "2016-04-04T15:47:01", "url": "https://files.pythonhosted.org/packages/6b/a7/83ddfce63ee27aab8850c52c7a565301b23cdb766208c1f50427163151da/tilda_api-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f1029b7ce03c31bef87a4eb3c1a4bf41", "sha256": "7fb9c3dec0b4ef9acd981fa4ea829afd640d2201872724af281153528e232b13" }, "downloads": -1, "filename": "tilda-api-0.2.tar.gz", "has_sig": false, "md5_digest": "f1029b7ce03c31bef87a4eb3c1a4bf41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3975, "upload_time": "2016-04-04T15:46:53", "url": "https://files.pythonhosted.org/packages/61/02/5aabb03f85ab357e1687157b2e4ab3b6582ac8fa921e5d69fba65802740c/tilda-api-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "db35a93fb9e5ef328551d7d177a64127", "sha256": "a0b28bcc95ca27a302935c16e18346f27e5f05ca52223b247c78103813d8e2d1" }, "downloads": -1, "filename": "tilda_api-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "db35a93fb9e5ef328551d7d177a64127", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10254, "upload_time": "2016-06-08T11:30:46", "url": "https://files.pythonhosted.org/packages/cd/17/6b305e22844acb245346feb5eb405d4c1213a258bcd09cea0ecbb26526b9/tilda_api-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c30f149d4624c41348b2d06633bc9a20", "sha256": "ec7a40e07b6aae4a4ca621c586163dd25cc1d3335f8d250f67b54ed80754fe9f" }, "downloads": -1, "filename": "tilda-api-0.2.1.tar.gz", "has_sig": false, "md5_digest": "c30f149d4624c41348b2d06633bc9a20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4532, "upload_time": "2016-06-08T11:30:41", "url": "https://files.pythonhosted.org/packages/ab/d0/f00789ccc905826cb426d6da3ded494c8a7d14e8b940fbfd0ddec811fdff/tilda-api-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "db35a93fb9e5ef328551d7d177a64127", "sha256": "a0b28bcc95ca27a302935c16e18346f27e5f05ca52223b247c78103813d8e2d1" }, "downloads": -1, "filename": "tilda_api-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "db35a93fb9e5ef328551d7d177a64127", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10254, "upload_time": "2016-06-08T11:30:46", "url": "https://files.pythonhosted.org/packages/cd/17/6b305e22844acb245346feb5eb405d4c1213a258bcd09cea0ecbb26526b9/tilda_api-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c30f149d4624c41348b2d06633bc9a20", "sha256": "ec7a40e07b6aae4a4ca621c586163dd25cc1d3335f8d250f67b54ed80754fe9f" }, "downloads": -1, "filename": "tilda-api-0.2.1.tar.gz", "has_sig": false, "md5_digest": "c30f149d4624c41348b2d06633bc9a20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4532, "upload_time": "2016-06-08T11:30:41", "url": "https://files.pythonhosted.org/packages/ab/d0/f00789ccc905826cb426d6da3ded494c8a7d14e8b940fbfd0ddec811fdff/tilda-api-0.2.1.tar.gz" } ] }