{ "info": { "author": "Marcin Lipiec", "author_email": "marcin.lipiec@yamatai.pl", "bugtrack_url": null, "classifiers": [], "description": "===========\nPyBitly\n===========\n\nPyBitly provides wrapper for bit.ly API. With bit.ly you can shorten,\nexpand, share and track URLs. Web API is available at http://dev.bitly.com/.\nUsage::\n\n This will obtain your API key from:\n >>> import pybitly.api\n >>> api = pybitly.api.Api('username','password')\n\n To shorten some URL:\n >>> api.shorten(\"http://www.wp.pl\")\n 'http://bit.ly/VjQJi1'\n\n You can also give a desired domain:\n >>> api.shorten(\"http://www.wp.pl\", \"j.mp\")\n 'http://j.mp/VjQJi1'\n\n You can also shorten list of URLs:\n >>> api.shorten([\"http://wp.pl\", \"http://onet.pl\"], \"j.mp\")\n ['http://j.mp/VjTksh', 'http://j.mp/19lCwGx']\n\n If there is a problem, you will see:\n >>> api.shorten(\"BAD LINK\", \"j.mp\")\n 'INVALID_URI'\n\n You can also expand one or more URLs:\n >>> api.expand('http://bit.ly/198XQVq')\n 'http://docs.python.org/2/howto/urllib2.html'\n\n >>> api.expand(['http://bit.ly/198XQVq', 'http://bit.ly/198XQVq', 'BAD URL'])\n ['http://docs.python.org/2/howto/urllib2.html', 'http://docs.python.org/2/howto/urllib2.html', 'NOT_FOUND']", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/PyBitly/", "keywords": null, "license": "GNU GENERAL PUBLIC LICENSE Version 3", "maintainer": null, "maintainer_email": null, "name": "PyBitly", "package_url": "https://pypi.org/project/PyBitly/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PyBitly/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/PyBitly/" }, "release_url": "https://pypi.org/project/PyBitly/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Great wrapper for bit.ly", "version": "0.1.1" }, "last_serial": 879297, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f131a86e9f79d2fec09505fe5d4c761d", "sha256": "8ba3d506332ca174e9163fd5cce28bfdb77c0b778b36a8e9ffcaeff1ef1c521d" }, "downloads": -1, "filename": "PyBitly-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f131a86e9f79d2fec09505fe5d4c761d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2477, "upload_time": "2013-10-01T12:51:41", "url": "https://files.pythonhosted.org/packages/57/c5/8a08051784728b9e12165ae476ca2369f56f80e34f24e942331bafdfe586/PyBitly-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "56b9985d4e8d1c2a1e79c104de5926ab", "sha256": "35df4c5f5248557e541eb8583f0503c7bcc2ba7d102e78ee91b8a087323c7295" }, "downloads": -1, "filename": "PyBitly-0.1.1.tar.gz", "has_sig": false, "md5_digest": "56b9985d4e8d1c2a1e79c104de5926ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2657, "upload_time": "2013-10-02T17:19:20", "url": "https://files.pythonhosted.org/packages/48/e4/5e3d8f28248b8a2cbeb651d6c0e8511679f8a62db5aa052cfff9d4cfb473/PyBitly-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "56b9985d4e8d1c2a1e79c104de5926ab", "sha256": "35df4c5f5248557e541eb8583f0503c7bcc2ba7d102e78ee91b8a087323c7295" }, "downloads": -1, "filename": "PyBitly-0.1.1.tar.gz", "has_sig": false, "md5_digest": "56b9985d4e8d1c2a1e79c104de5926ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2657, "upload_time": "2013-10-02T17:19:20", "url": "https://files.pythonhosted.org/packages/48/e4/5e3d8f28248b8a2cbeb651d6c0e8511679f8a62db5aa052cfff9d4cfb473/PyBitly-0.1.1.tar.gz" } ] }