{ "info": { "author": "Fabian Neumann", "author_email": "fn@sturzbach.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=====================\nPython bit.ly wrapper\n=====================\n\nThis is a thin Python wrapper for the `bit.ly API`_. Basic usage looks like\nthis::\n\n >>> import bitlyapi\n >>> b = bitlyapi.BitLy(api_user, api_key)\n >>> res = b.shorten(longUrl='http://www.google.com/')\n >>> print res['url']\n 'http://bit.ly/6Hwstb'\n >>> print res['long_url']\n 'http://www.google.com/'\n\nThe return from any method call is a dict containing the results of\ndecoding the JSON returned from bit.ly. For example::\n\n >>> import pprint\n >>> pprint.pprint(res)\n {'global_hash': '2V6CFi',\n 'hash': '9gOd4I',\n 'long_url': 'http://www.google.com/',\n 'new_hash': 1,\n 'url': 'http://bit.ly/9gOd4I'}\n\nYou can supply arbitrary keywords to method calls and they will be passed\nto the `bit.ly API`_::\n\n >>> res = api.shorten(domain=\"j.mp\", longUrl=\"http://www.example.com/foobar.html\")\n >>> pprint.pprint(res)\n {'global_hash': 'cITxl0',\n 'hash': 'cY4460',\n 'long_url': 'http://www.example.com/foobar.html',\n 'new_hash': 1,\n 'url': 'http://j.mp/cY4460'}\n\n.. _bit.ly API: http://code.google.com/p/bitly-api/wiki/ApiDocumentation\n\n\n=========\nChangelog\n=========\n\n0.1.1 (2010-04-07)\n==================\n\n- fixed path to README and CHANGES in setup.py and add MANIFEST.in\n\n\n0.1 (2010-04-07)\n================\n\n- initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/hellp/bitlyapi", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "bitlyapi", "package_url": "https://pypi.org/project/bitlyapi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bitlyapi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/hellp/bitlyapi" }, "release_url": "https://pypi.org/project/bitlyapi/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "A thin wrapper for the bit.ly REST API", "version": "0.1.1" }, "last_serial": 744264, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "5519e29e4473cc16da80b3702a351579", "sha256": "5b1d9fb9a4524b92fc8d9ac4d7b8bdd9148a53c0517680cd9f68f9dae97312af" }, "downloads": -1, "filename": "bitlyapi-0.1.tar.gz", "has_sig": false, "md5_digest": "5519e29e4473cc16da80b3702a351579", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3253, "upload_time": "2010-04-07T19:20:48", "url": "https://files.pythonhosted.org/packages/b6/46/5d416660d347b4f6f7d0ebb8f71cf1aff9444df4865c769fea80deaa3403/bitlyapi-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "93aac3707a3ca8a4fc17f9976ec87cde", "sha256": "fb074088bcefe884d7dd61165185486597f394b72b862090485d8bf3305be44f" }, "downloads": -1, "filename": "bitlyapi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "93aac3707a3ca8a4fc17f9976ec87cde", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4310, "upload_time": "2010-04-07T21:01:56", "url": "https://files.pythonhosted.org/packages/2b/71/ae97330c791cb3c08ad479c64ad65fcb749bde5236dbe8ab86f3176d1d30/bitlyapi-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "93aac3707a3ca8a4fc17f9976ec87cde", "sha256": "fb074088bcefe884d7dd61165185486597f394b72b862090485d8bf3305be44f" }, "downloads": -1, "filename": "bitlyapi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "93aac3707a3ca8a4fc17f9976ec87cde", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4310, "upload_time": "2010-04-07T21:01:56", "url": "https://files.pythonhosted.org/packages/2b/71/ae97330c791cb3c08ad479c64ad65fcb749bde5236dbe8ab86f3176d1d30/bitlyapi-0.1.1.tar.gz" } ] }