{ "info": { "author": "Philipp Bosch", "author_email": "hello@pb.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "python-xbtesting\n================\n\nA Python library to talk to the API provided by [CrossBrowserTesting.com](http://crossbrowsertesting.com/).\n\nDisclaimer: I am in no way associated with CrossBrowserTesting.com, LLC.\n\n\nInstallation\n------------\n\n $ pip install python-xbtesting\n\n### Prerequisites\n\n* simplejson\n\n\nUsage\n-----\n\n### Setup\n\n >>> from xbtesting import XBTesting\n >>> XBTesting.username = \"your username\"\n >>> XBTesting.password = \"your password\"\n >>> xbt = XBTesting()\n\n\n### Retrieving tests\n \n >>> tests = xbt.get_tests()\n >>> tests\n [,\n ,\n ,\n ,\n ]\n >>> tests[0].id\n 98765\n >>> tests[0].url\n 'http://your-website.com/'\n >>> tests[0].test_date\n datetime.datetime(2010, 12, 13, 8, 4, 28)\n\n#### Available attributes of XBText instances\n\n* `id` (int)\n* `url` (str)\n* `test_date` (datetime)\n\n\n### Retrieving versions of a test\n\n >>> versions = test[0].get_versions()\n >>> versions\n [,\n \n ]\n >>> versions[0].id\n 876543\n >>> versions[0].version_date\n datetime.datetime(2010, 12, 13, 8, 4, 28)\n\n#### Available attributes of XBTestVersion instances\n\n* `id` (int)\n* `test` (XBTest)\n* `version_date` (datetime)\n* `count_successful` (int)\n* `count_not_finished` (int)\n* `version_public_url` (str)\n* `version_ui_url` (str)\n* `version_zip` (str)\n* `w3c_css_errors` (int)\n* `w3c_html_errors` (int)\n* `w3c_html_warnings` (int)\n\n\n### Retrieving results of a version of a test\n\n >>> results = versions[0].get_results()\n >>> results\n [,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ]\n >>> results[0].id\n 7654321\n >>> results[0].finished_date\n datetime.datetime(2011, 1, 18, 8, 34)\n >>> results[0].full_page\n 'http://media.crossbrowsertesting.com/users/12345/screenshots/full/z02129bb861061d1a052.png'\n >>> results[0].browser\n 'Firefox 3.5'\n >>> results[0].os\n 'Mac OSX 10.5.8'\n >>> results[0].resolution\n '1024x768'\n\n#### Available attributes of XBTestVersionResult instances\n\n* `id` (int)\n* `testversion` (XBTestVersion)\n* `start_date` (datetime)\n* `finished_date` (datetime)\n* `status` (str)\n* `os` (str)\n* `browser` (str)\n* `resolution` (str)\n* `windowed` (str)\n* `windowed_thumb` (str)\n* `full_page` (str)\n* `full_page_thumb` (str)\n* `live_test_url` (str)", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/python-xbtesting/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/philippbosch/python-xbtesting/", "keywords": "python api crossbrowsertesting", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "python-xbtesting", "package_url": "https://pypi.org/project/python-xbtesting/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-xbtesting/", "project_urls": { "Download": "http://pypi.python.org/pypi/python-xbtesting/", "Homepage": "http://github.com/philippbosch/python-xbtesting/" }, "release_url": "https://pypi.org/project/python-xbtesting/0.1.7/", "requires_dist": null, "requires_python": null, "summary": "A Python library to talk to the API provided by CrossBrowserTesting.com", "version": "0.1.7" }, "last_serial": 798133, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "12ed3c6840b2c1520240b8d2820a1a18", "sha256": "b0ca1f7d884c15370abc786bc9400ffa7576aec82e621ba6ec801ea69fad31e9" }, "downloads": -1, "filename": "python-xbtesting-0.1.1.tar.gz", "has_sig": false, "md5_digest": "12ed3c6840b2c1520240b8d2820a1a18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3467, "upload_time": "2011-02-09T16:20:08", "url": "https://files.pythonhosted.org/packages/69/5a/99b138bb4fb9fcc60f7082a2128ce4816ebd8be9a80646b9acd42743dba0/python-xbtesting-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d1dc71110bd6ec3958a06d0d73d4494a", "sha256": "fbb23ca2b42c24bcd83428c4acd4b7bee3be5e71a68b01320aca47326d121032" }, "downloads": -1, "filename": "python-xbtesting-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d1dc71110bd6ec3958a06d0d73d4494a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4103, "upload_time": "2011-02-09T16:35:18", "url": "https://files.pythonhosted.org/packages/35/9a/c9c85b6822d2fac10b1a300d1bc634473c855b30e9956b678ca8955e63ce/python-xbtesting-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "7871a7c3329cde9696c1263e9918ad48", "sha256": "d923ae6e7a16f918232efe40b13ca6001e33fcf3113aa07476af602057a79f6a" }, "downloads": -1, "filename": "python-xbtesting-0.1.3.tar.gz", "has_sig": false, "md5_digest": "7871a7c3329cde9696c1263e9918ad48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4105, "upload_time": "2011-02-09T16:50:41", "url": "https://files.pythonhosted.org/packages/8b/f7/5ed333cffca0666f8faa1dd1691702003c9e533cc98a71d84a7042f12bcc/python-xbtesting-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "1174adeca9ee853302b503d9c415dd18", "sha256": "a65515afd898a21655b619cedb46a0664fb68e7dca980d57ba8800822179d486" }, "downloads": -1, "filename": "python-xbtesting-0.1.4.tar.gz", "has_sig": false, "md5_digest": "1174adeca9ee853302b503d9c415dd18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4100, "upload_time": "2011-02-09T17:00:22", "url": "https://files.pythonhosted.org/packages/52/52/2d2596cd8108b707369965e86ce50fbace9a13fb486109416ea37243bdfe/python-xbtesting-0.1.4.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "fd38c9d95558a1a534dd42b1550e5dd5", "sha256": "dd70245f7c463ef3d1e4cbc23bb472225c489a3863147c5c5f5fb44500f4c1aa" }, "downloads": -1, "filename": "python-xbtesting-0.1.6.tar.gz", "has_sig": false, "md5_digest": "fd38c9d95558a1a534dd42b1550e5dd5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3927, "upload_time": "2011-02-09T21:28:26", "url": "https://files.pythonhosted.org/packages/32/28/c4ddb473bc2b8698e7f58c0f24f54d373548a726e108c6ea61d9fb8d3e4a/python-xbtesting-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "d3683a468cd5be2d8042216053227cd9", "sha256": "0f448236a08f508eb63be50c46589144cca23bd6da4bcca494fbec031e9dcbd0" }, "downloads": -1, "filename": "python-xbtesting-0.1.7.tar.gz", "has_sig": false, "md5_digest": "d3683a468cd5be2d8042216053227cd9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3853, "upload_time": "2011-02-10T12:42:23", "url": "https://files.pythonhosted.org/packages/c6/e4/eaed036ca0159bcfb8855b09de053f1f9d7cfd1e018eaed6acc24519046b/python-xbtesting-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d3683a468cd5be2d8042216053227cd9", "sha256": "0f448236a08f508eb63be50c46589144cca23bd6da4bcca494fbec031e9dcbd0" }, "downloads": -1, "filename": "python-xbtesting-0.1.7.tar.gz", "has_sig": false, "md5_digest": "d3683a468cd5be2d8042216053227cd9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3853, "upload_time": "2011-02-10T12:42:23", "url": "https://files.pythonhosted.org/packages/c6/e4/eaed036ca0159bcfb8855b09de053f1f9d7cfd1e018eaed6acc24519046b/python-xbtesting-0.1.7.tar.gz" } ] }