{ "info": { "author": "Tejas Sharma", "author_email": "tejas.s1996@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP :: Browsers", "Topic :: Internet :: WWW/HTTP :: Indexing/Search", "Topic :: Multimedia :: Sound/Audio", "Topic :: Utilities" ], "description": "pitchfork-api\n=============\n\nAn unofficial python API for\n`pitchfork.com `__ reviews.\n\n+------------------+--------------------+--------------------+\n| Build Status | Version | Python Versions |\n+==================+====================+====================+\n| |Build Status| | |Latest Version| | |Py Versions| |\n+------------------+--------------------+--------------------+\n\nApologies for the confusing naming - pypi doesn't allow the use of underscores in package names, while python doesn't allow dashes in module names. As a result, the package name is `pitchfork-api`, but it is `pitchfork_api` everywhere else.\n\nInstallation\n------------\n\nYou can get it from `python package\nindex `__:\n\n.. code:: sh\n\n pip install pitchfork-api\n\nYou can also clone the repository, but note that ``pitchfork`` depends\non ``beautifulsoup4`` for HTML parsing so you first have to install\n``beautifulsoup4`` yourself !!!\n\n.. code:: sh\n\n git clone https://github.com/tejassharma96/pitchfork_api\n\nUsage\n-----\n\n.. code:: python\n\n >> import pitchfork\n\n >> p = pitchfork.search('kanye west', 'my beautiful') # the title is autocompleted\n >> p.album() # the full album title\n u'My Beautiful Dark Twisted Fantasy'\n\n >> p.label()\n u'Def Jam / Roc-A-Fella'\n\n >> p.editorial()[:100] # get the first 100 characters of the review.\n u\"Kanye West's 35-minute super-video,\\xa0Runaway, peaks with a parade. Fireworks flash while red hoods ma\"\n\n # the link to the album cover image\n >> p.cover()\n 'http://cdn4.pitchfork.com/albums/15935/homepage_large.831179e9.jpg'\n\n >> p.score()\n 10.0\n\n # to check what methods are available, you can use 'methods()'\n >> p.methods()\n score()\n abstract()\n editorial()\n full_text()\n cover()\n artist()\n album()\n label()\n year()\n\nTests\n-----\n\nYou can run the basic tests located in the ``tests`` directory with:\n\n.. code:: sh\n\n $ cd pitchfork\n $ python3 -m unittest discover\n\nLicense\n-------\n\nMIT\n\nContributions\n-------------\n\nIf you want to add some new feature, suggest improvement or whatnot\nyou're welcome to message me or send a pull request!\n\n.. |Build Status| image:: https://travis-ci.org/tejassharma96/pitchfork_api.svg?branch=master\n :target: https://travis-ci.org/tejassharma96/pitchfork_api\n.. |Latest Version| image:: https://pypip.in/v/pitchfork-api/badge.png\n :target: https://pypi.python.org/pypi/pitchfork-api/\n.. |Py Versions| image:: https://img.shields.io/pypi/pyversions/pitchfork-api.svg?maxAge=2592000\n :target: https://img.shields.io/pypi/pyversions/\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tejassharma96/pitchfork_api/", "keywords": "", "license": "LICENSE.txt", "maintainer": "", "maintainer_email": "", "name": "pitchfork-api", "package_url": "https://pypi.org/project/pitchfork-api/", "platform": "", "project_url": "https://pypi.org/project/pitchfork-api/", "project_urls": { "Homepage": "https://github.com/tejassharma96/pitchfork_api/" }, "release_url": "https://pypi.org/project/pitchfork-api/0.0.4/", "requires_dist": [ "beautifulsoup4" ], "requires_python": "", "summary": "Unofficial API for pitchfork.com reviews, maintained version of pitchfork", "version": "0.0.4" }, "last_serial": 4181149, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d505c0eeb65676bed511b3623614b924", "sha256": "a1194d6e44fac0a76c36afff0d26c6911e8ba8d19fc093a7ba58d22a6d73fe3c" }, "downloads": -1, "filename": "pitchfork_api-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d505c0eeb65676bed511b3623614b924", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6564, "upload_time": "2018-08-17T16:46:29", "url": "https://files.pythonhosted.org/packages/9e/ad/28e0b77f4bdf188142d8df1cb48f73ca05b105a3ee80b6ef99b3de11bab8/pitchfork_api-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8222353cb9113511f1b0ec7f2507b2bf", "sha256": "2c6cf61942d9bff21aa15cf9302075edc49e7af5d6ee2b59ec803c8c1af76cd1" }, "downloads": -1, "filename": "pitchfork_api-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8222353cb9113511f1b0ec7f2507b2bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6154, "upload_time": "2018-08-17T16:46:31", "url": "https://files.pythonhosted.org/packages/aa/ea/447c1809ef90e912ee73033d1dd4bbf229e36e81be089718a6e78c0e15e4/pitchfork_api-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "4c5fa021b2095cf9e04d6eab974f2207", "sha256": "cd7f5e1689779e6c21090cd757f242a065e7dd30e767e982e957eafba7b842c5" }, "downloads": -1, "filename": "pitchfork_api-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "4c5fa021b2095cf9e04d6eab974f2207", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6538, "upload_time": "2018-08-17T16:53:09", "url": "https://files.pythonhosted.org/packages/4d/d8/935d75d405593851e73869a3bface22740fba9cc832ddecd3527610c1fd0/pitchfork_api-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eb99482ee7ac4f504c54362ffbbb989f", "sha256": "e41fe667a8d01b5d8a7fa4b99124e3b4f19a7f4a4d6c7ca40dc0d0dd3bd5df07" }, "downloads": -1, "filename": "pitchfork_api-0.0.2.tar.gz", "has_sig": false, "md5_digest": "eb99482ee7ac4f504c54362ffbbb989f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6125, "upload_time": "2018-08-17T16:53:11", "url": "https://files.pythonhosted.org/packages/6c/84/a26df33f8e5a05c01d78dd6c986f645d31ced7f95b3be391534dce6906c3/pitchfork_api-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "bcc36be89d2309834f4cd378556d7355", "sha256": "c0f59b306521b34ae22166987e58a0bd27044d4a2544e58864196219a38ae7d7" }, "downloads": -1, "filename": "pitchfork_api-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "bcc36be89d2309834f4cd378556d7355", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10249, "upload_time": "2018-08-17T18:08:39", "url": "https://files.pythonhosted.org/packages/28/7a/bdb2be80b6545c9b660228f4abb2a3e49dc8cf3929ab2d55b0f9908cea4b/pitchfork_api-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a9dd5b9a1367af3799b75f032fcd91d", "sha256": "35e32d65f3bfd385caf4145242dc3b29b669fc5c1c6fb6e1190d6863f9dbedf1" }, "downloads": -1, "filename": "pitchfork_api-0.0.3.tar.gz", "has_sig": false, "md5_digest": "1a9dd5b9a1367af3799b75f032fcd91d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6464, "upload_time": "2018-08-17T18:08:41", "url": "https://files.pythonhosted.org/packages/44/77/4b6aaa115583e77537dda27dc5545e992a41ab2998046ac7c683350bf3ab/pitchfork_api-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "90aeda48a57ffe76b6f83aa9961ec2d4", "sha256": "207dd1b562fbea8b7af3743aa70e4b44b43fc9bcb7e876462b62d87fca3019fc" }, "downloads": -1, "filename": "pitchfork_api-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "90aeda48a57ffe76b6f83aa9961ec2d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10248, "upload_time": "2018-08-17T18:10:29", "url": "https://files.pythonhosted.org/packages/25/d9/9a2a8f26a3d9994e9e3334d425b3cf40719c6080970e122781b84d208ea3/pitchfork_api-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5edd7ddac7960332cefbf45fbb704ff3", "sha256": "221021dde465e7faf53ea868b155dc3536d8c1b1e5a18b15e3d332f087607af3" }, "downloads": -1, "filename": "pitchfork_api-0.0.4.tar.gz", "has_sig": false, "md5_digest": "5edd7ddac7960332cefbf45fbb704ff3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6458, "upload_time": "2018-08-17T18:10:31", "url": "https://files.pythonhosted.org/packages/c0/80/266d50439b24c93502dc942f496f6517d82049c39e604cca56aae2ded7b2/pitchfork_api-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "90aeda48a57ffe76b6f83aa9961ec2d4", "sha256": "207dd1b562fbea8b7af3743aa70e4b44b43fc9bcb7e876462b62d87fca3019fc" }, "downloads": -1, "filename": "pitchfork_api-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "90aeda48a57ffe76b6f83aa9961ec2d4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10248, "upload_time": "2018-08-17T18:10:29", "url": "https://files.pythonhosted.org/packages/25/d9/9a2a8f26a3d9994e9e3334d425b3cf40719c6080970e122781b84d208ea3/pitchfork_api-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5edd7ddac7960332cefbf45fbb704ff3", "sha256": "221021dde465e7faf53ea868b155dc3536d8c1b1e5a18b15e3d332f087607af3" }, "downloads": -1, "filename": "pitchfork_api-0.0.4.tar.gz", "has_sig": false, "md5_digest": "5edd7ddac7960332cefbf45fbb704ff3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6458, "upload_time": "2018-08-17T18:10:31", "url": "https://files.pythonhosted.org/packages/c0/80/266d50439b24c93502dc942f496f6517d82049c39e604cca56aae2ded7b2/pitchfork_api-0.0.4.tar.gz" } ] }