{ "info": { "author": "Nirmal Kumar", "author_email": "rkumarnirmal@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet", "Topic :: Multimedia :: Video", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=================\npython-vimeo\n=================\n\nA python wrapper for using the `Vimeo API`_.\n\n.. _Vimeo API: http://developer.vimeo.com/\n\nInstallation\n------------\n\nTo install python-vimeo, simply: ::\n\n pip install vimeo\n\nOr ::\n\n easy_install vimeo\n\nBasic Use\n---------\n\nTo use python-vimeo, you must first create a `Client` instance,\npassing at a minimum of key, secret and callback you obtained when you `registered\nyour app`_: ::\n\n import vimeo\n \n client = vimeo.Client(key=YOUR_CONSUMER_KEY, secret=YOUR_CONSUMER_SECRET, callback=YOUR_CALLBACK_URL)\n\nThe client instance can then be used to fetch or modify resources: ::\n\n videos = client.get('vimeo.videos.getAll', user_id=11867661, page=1)\n\n.. _registered your app: https://developer.vimeo.com/apps/new\n\nAuthentication\n--------------\n\nAll `OAuth authorization flows`_ supported by the Vimeo API are\navailable in python-vimeo. If you only need read-only access to\npublic resources, go for basic use method as shown above. If however,\nyou need to access private resources or modify a resource,\nyou will need to have a user delegate access to your application. To do\nthis, you can use the following OAuth2 authorization flow.\n\n**Authorization Code Flow**\n\nThe Authorization Code Flow involves redirecting the user to vimeo.com \nwhere they will log in and grant access to your application: ::\n\n import vimeo\n\n client = vimeo.Client(\n key='YOUR_CONSUMER_KEY',\n secret='YOUR_CONSUMER_SECRET',\n callback='YOUR_CALLBACK_URL',\n\tusername='USERNAME_FROM_YOU_APP'\n )\n redirect(client.authorize_url())\n\nNote that `username` should be the unique logged in username from your application.\nThe auth informations will be stored in the seperate cache for the specifed username.\nAnd `callback` must match the value you provided when you\nregistered your application. After granting access, the user will be\nredirected to this url, at which point your application can exchange\nthe returned token information for an access token. After getting the information just\npass the token verifier: ::\n\n token = client.exchange_token('TOKEN_VERIFIER')\n access_token = token.key\n access_token_secret = token.secret\n\n.. _`OAuth authorization flows`: https://developer.vimeo.com/apis/advanced#oauth\n\nExamples\n--------\n\nGet user's Authorization: ::\n\n import vimeo\n\n client = vimeo.Client(key=YOUR_CONSUMER_KEY, secret=YOUR_CONSUMER_SECRET, callback=YOUR_CALLBACK_URL, username='LOGGED IN USERNAME')\n redirect(client.authorize_url())\n\nGet the authenticated user's uploaded videos: ::\n\n import vimeo\n\n client = vimeo.Client(key=YOUR_CONSUMER_KEY, secret=YOUR_CONSUMER_SECRET, callback=YOUR_CALLBACK_URL, username='LOGGED_IN_USERNAME', token=False)\n token = client.exchange_token('TOKEN_VERIFIER_FROM_THE_REDIRECTED_URL')\n client = vimeo.Client(key=YOUR_CONSUMER_KEY, secret=YOUR_CONSUMER_SECRET, callback=YOUR_CALLBACK_URL, username='LOGGED_IN_USERNAME', token=True)\n videos = client.get('vimeo.videos.getUploaded', page=1)\n\n\n \n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rkumarnirmal/python-vimeo", "keywords": "vimeo internet api", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "vimeo", "package_url": "https://pypi.org/project/vimeo/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/vimeo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/rkumarnirmal/python-vimeo" }, "release_url": "https://pypi.org/project/vimeo/0.1.9/", "requires_dist": null, "requires_python": null, "summary": "Python module for using Vimeo API.", "version": "0.1.9" }, "last_serial": 728241, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "de02c725d2a3ec27474f508116e0a66b", "sha256": "309e1bff20ba883532cb2962962a5163374b3d57bce3cd705da600dc86e14dc8" }, "downloads": -1, "filename": "vimeo-0.1.0.tar.gz", "has_sig": false, "md5_digest": "de02c725d2a3ec27474f508116e0a66b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2606, "upload_time": "2012-08-04T09:32:18", "url": "https://files.pythonhosted.org/packages/f0/8b/4b640fd69687aefa3abb24ae57c5fe3d1817c9682106770042eb6e7fbd33/vimeo-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e3d276de08d590cfa4caf6605fb6c002", "sha256": "b782aac7ae6ad86e108f281d96e72ce80756738c05e6980f7c84d7d299b7a2fa" }, "downloads": -1, "filename": "vimeo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e3d276de08d590cfa4caf6605fb6c002", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2576, "upload_time": "2012-08-04T09:44:03", "url": "https://files.pythonhosted.org/packages/02/db/00f05f7641d6f326303939407a70e225182145b2a1b593259a3b3d99a604/vimeo-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "49311de33047a5a29474d3c31bda110b", "sha256": "efb3bc4611e4ad24ae35376d176ae89e06094adf71e17f9d057dc38625793e76" }, "downloads": -1, "filename": "vimeo-0.1.2.tar.gz", "has_sig": false, "md5_digest": "49311de33047a5a29474d3c31bda110b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3289, "upload_time": "2012-08-04T12:32:14", "url": "https://files.pythonhosted.org/packages/9d/56/c8322b176a8c04559bd5cce508356050c89e2909e1379107f21dfeb0da2f/vimeo-0.1.2.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "961e7143abfdd8173c1637626d8edd2f", "sha256": "093ce6c67d8a6ae63408bae94478aa59f62413e03049d648c13f93083378350a" }, "downloads": -1, "filename": "vimeo-0.1.4.tar.gz", "has_sig": false, "md5_digest": "961e7143abfdd8173c1637626d8edd2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3272, "upload_time": "2012-08-04T17:27:24", "url": "https://files.pythonhosted.org/packages/77/37/5e1eb4a4f2c039dbc9b595c91d5f7f47c1ff6f5f6ae472a4393dcd9a3106/vimeo-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "07b584fda632fe7f8cff11397b306829", "sha256": "e4b6cac44d96ee5333f3801da3aee20f72557722a4b282002e85b2aac32eda9a" }, "downloads": -1, "filename": "vimeo-0.1.5.tar.gz", "has_sig": false, "md5_digest": "07b584fda632fe7f8cff11397b306829", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3269, "upload_time": "2012-08-04T17:43:44", "url": "https://files.pythonhosted.org/packages/d8/05/d805663089fd3e330e84c118c6bdaffbd7b6c10419894f343eeb50c9cfba/vimeo-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "62ed15e16d0b3701c8a07b6353ad897b", "sha256": "9db27aedbf8646e67116cba6c6f80bebab9e71a469ccd125005d77ca3382a0cb" }, "downloads": -1, "filename": "vimeo-0.1.6.tar.gz", "has_sig": false, "md5_digest": "62ed15e16d0b3701c8a07b6353ad897b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3236, "upload_time": "2012-08-04T19:10:49", "url": "https://files.pythonhosted.org/packages/07/d1/794f083787076e8f2c764d6cedb0a3019b132a5f993d5121773e8f4b296c/vimeo-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "b76fabaa11222f7b8e6fb86414bf171c", "sha256": "2658e460e1a8905e434e54a6d5733a9f13a942aca40ff4ee5a42396b2d091e0e" }, "downloads": -1, "filename": "vimeo-0.1.7.tar.gz", "has_sig": false, "md5_digest": "b76fabaa11222f7b8e6fb86414bf171c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3268, "upload_time": "2012-08-04T19:51:01", "url": "https://files.pythonhosted.org/packages/58/9a/3a103d4c6b3ec70d8fb188be30e44f396bd2a7333f982e0f9588c5e9e2a1/vimeo-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "0a9b26eace9ef746cdf934610b6450fb", "sha256": "7386e077c229c828d94313e495cfae4a94fa2bb98f83948835fcf30bc7a152b7" }, "downloads": -1, "filename": "vimeo-0.1.8.tar.gz", "has_sig": false, "md5_digest": "0a9b26eace9ef746cdf934610b6450fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4301, "upload_time": "2012-12-05T17:19:50", "url": "https://files.pythonhosted.org/packages/7a/ad/f2d8a48aed730aa2e9db23de2a730eac946426263d67357f3f6e5b3e81ba/vimeo-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "edec3713f081d20a1e2eeefe6ce8924a", "sha256": "462654c22c48387591c25d73232b3b5d3a1183e4c98e60e8d0c34cba0097c4dd" }, "downloads": -1, "filename": "vimeo-0.1.9.tar.gz", "has_sig": false, "md5_digest": "edec3713f081d20a1e2eeefe6ce8924a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4289, "upload_time": "2012-12-05T17:57:39", "url": "https://files.pythonhosted.org/packages/8d/a6/bc32b2f857f24d81d264913a401af98fece533dd0984ffa881e66d96eb8a/vimeo-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "edec3713f081d20a1e2eeefe6ce8924a", "sha256": "462654c22c48387591c25d73232b3b5d3a1183e4c98e60e8d0c34cba0097c4dd" }, "downloads": -1, "filename": "vimeo-0.1.9.tar.gz", "has_sig": false, "md5_digest": "edec3713f081d20a1e2eeefe6ce8924a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4289, "upload_time": "2012-12-05T17:57:39", "url": "https://files.pythonhosted.org/packages/8d/a6/bc32b2f857f24d81d264913a401af98fece533dd0984ffa881e66d96eb8a/vimeo-0.1.9.tar.gz" } ] }