{ "info": { "author": "Nerio Rincon", "author_email": "nrincon.mr@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# Buffer-python\n\nBuffer-python is an API wrapper for the API v1 of Buffer written in Python\n\n## Installing\n```\npip install buffer-python-lib\n```\n\n## Usage\n```\nfrom buffer.client import Client\n\nclient = Client('CLIENT_ID', 'CLIENT_SECRET')\n```\n\nGet authorization url\n```\nurl = client.get_authorization_url('REDIRECT_URL')\n```\n\nExchange the code for an access token\n```\ntoken = client.exchange_code('REDIRECT_URL', 'CODE')\n```\n\nSet the access token\n```\nclient.set_token('TOKEN')\n```\n\nGet user information\n```\naccount = client.get_user_info()\n```\n\nGet user registered profiles\n```\nprofiles = client.get_user_profiles()\n```\n\nGet specific user profile\n```\nprofile = client.get_specific_profile('PROFILE_ID')\n```\n\nGet leads given the form\n```\nposting_schedules = client.get_posting_schedules('PROFILE_ID')\n```\n\nGet sent posts\n```\nsent_posts = client.get_sent_post('PROFILE_ID')\n```\n\nGet specific post\n```\nspecific_post = client.get_specific_post('POST_ID')\n```\n\nNew post or update\n```\npost = client.new_post('PROFILE_ID', 'TEXT', True)\n```\n\n## Requirements\n- requests\n\n## TODO\n- unittest", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/GearPlug/buffer-python", "keywords": "", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "buffer-python-lib", "package_url": "https://pypi.org/project/buffer-python-lib/", "platform": "", "project_url": "https://pypi.org/project/buffer-python-lib/", "project_urls": { "Homepage": "https://github.com/GearPlug/buffer-python" }, "release_url": "https://pypi.org/project/buffer-python-lib/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "API wrapper for Buffer written in Python", "version": "0.1.0" }, "last_serial": 4557263, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "77c039a72fb818445337c79c8d3f0e0e", "sha256": "f34edca57431555bd69e1f8cdbe7405496bff264941b845364eb22402b407cfc" }, "downloads": -1, "filename": "buffer-python-lib-0.1.0.tar.gz", "has_sig": false, "md5_digest": "77c039a72fb818445337c79c8d3f0e0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4916, "upload_time": "2018-09-20T19:57:22", "url": "https://files.pythonhosted.org/packages/cf/a6/fb985038a2496c3f167f8c6c8cbfcb294db0172153dc5ab656405582a4a3/buffer-python-lib-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "77c039a72fb818445337c79c8d3f0e0e", "sha256": "f34edca57431555bd69e1f8cdbe7405496bff264941b845364eb22402b407cfc" }, "downloads": -1, "filename": "buffer-python-lib-0.1.0.tar.gz", "has_sig": false, "md5_digest": "77c039a72fb818445337c79c8d3f0e0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4916, "upload_time": "2018-09-20T19:57:22", "url": "https://files.pythonhosted.org/packages/cf/a6/fb985038a2496c3f167f8c6c8cbfcb294db0172153dc5ab656405582a4a3/buffer-python-lib-0.1.0.tar.gz" } ] }