{ "info": { "author": "Miguel Ferrer", "author_email": "ingferrermiguel@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# instagram-python\n\ninstagram-python is an API wrapper for Instagram written in Python\n\n## Installing\n```\npip install instagram-python-lib\n```\n\n## Usage\n```\nfrom instagram.client import Client\n\nclient = Client('CLIENT_ID', 'CLIENT_SECRET')\n```\n\nGet authorization url\n```\nscopes = ['basic']\nurl = client.authorization_url('REDIRECT_URI', scopes)\n```\n\nExchange the code for a token\n```\ntoken = client.exchange_code('REDIRECT_URI', 'CODE')\n```\n\nSet the token\n```\nclient.set_access_token('TOKEN')\n```\n\nGet account information\n```\nresponse = client.get_account(')\n```\n\nGet media\n```\nresponse = client.get_media('MEDIA_ID')\n```\n\n### Webhooks\nCreate subscription\n```\nresponse = client.create_subscription('user', 'media', 'A_SECRET_RANDOM_KEY', 'NOTIFICATION_URL')\n```\n\nGet subscriptions\n```\nresponse = client.get_subscriptions()\n```\n\nDelete subscription\n```\nresponse = client.delete_subscription('SUBSCRIPTION_ID')\n```", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/GearPlug/instagram-python", "keywords": "", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "instagram-python-lib", "package_url": "https://pypi.org/project/instagram-python-lib/", "platform": "", "project_url": "https://pypi.org/project/instagram-python-lib/", "project_urls": { "Homepage": "https://github.com/GearPlug/instagram-python" }, "release_url": "https://pypi.org/project/instagram-python-lib/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "API wrapper for Instagram written in Python", "version": "0.1.2" }, "last_serial": 4557191, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "eff0a225bbc287d9122359f4931e6de0", "sha256": "8b461597b43e73a9713add4044dd271e01c533222a83847bce4ed8f451ab2b9d" }, "downloads": -1, "filename": "instagram-python-lib-0.1.tar.gz", "has_sig": false, "md5_digest": "eff0a225bbc287d9122359f4931e6de0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2164, "upload_time": "2018-02-16T15:55:26", "url": "https://files.pythonhosted.org/packages/89/59/5ee2f562b1260f6d5ca0ec1a9f20b783748c64dad0bee222e49706e6e967/instagram-python-lib-0.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "bdf3521a1adadda7a8cb982b34b540cd", "sha256": "1f69be35e96104e98c3c3802d6d28207b9abd0c0fe77578daddb740f72c824dd" }, "downloads": -1, "filename": "instagram-python-lib-0.1.2.tar.gz", "has_sig": false, "md5_digest": "bdf3521a1adadda7a8cb982b34b540cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2804, "upload_time": "2018-02-26T13:21:03", "url": "https://files.pythonhosted.org/packages/37/e3/08158172d5733b9c9454390d21ad57dc57f50989e298359821af289348af/instagram-python-lib-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bdf3521a1adadda7a8cb982b34b540cd", "sha256": "1f69be35e96104e98c3c3802d6d28207b9abd0c0fe77578daddb740f72c824dd" }, "downloads": -1, "filename": "instagram-python-lib-0.1.2.tar.gz", "has_sig": false, "md5_digest": "bdf3521a1adadda7a8cb982b34b540cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2804, "upload_time": "2018-02-26T13:21:03", "url": "https://files.pythonhosted.org/packages/37/e3/08158172d5733b9c9454390d21ad57dc57f50989e298359821af289348af/instagram-python-lib-0.1.2.tar.gz" } ] }