{ "info": { "author": "Alex Good, Updated by Brock Haywood, Refreshed by Joe Black", "author_email": "me@joeblack.nyc", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Other Environment", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Communications :: Telephony", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": "Installing\n==========\n\nInstall from pip::\n\n pip install kazoo-sdk\n\n\nAuthentication\n==============\n\nEither authenticate using a username/password pair::\n\n >>>import kazoo\n >>>client = kazoo.Client(username='myusername', password='mypassword',\n account_name='my account name',\n base_url='http://api.example.com:8000/v1')\n >>>client.authenticate()\n\nOr using an api key::\n\n >>>import kazoo\n >>>client = kazoo.Client(api_key=\"sdfasdfas\")\n >>>client.authenticate()\n\nThe default api url is: 'http://api.2600hz.com:8000/v1'. You can override this\nby supplying an extra argument, 'base_url' to kazoo.Client().\n\nExample of overriding 'base_url'::\n\n >>>client = kazoo.Client(base_url='http://api.example.com:8000/v1',\n api_key=\"sdfasdfas\")\n\nAPI calls which require data take it in the form of a required argument\ncalled 'data' which is the last argument to the method. For example ::\n\n >>>client.update_account(acct_id, {\"name\": \"somename\", \"realm\":\"superfunrealm\"})\n\nDictionaries and lists will automatically be converted to their appropriate\nrepresentation so you can do things like: ::\n\n >>>client.update_callflow(acct_id, callflow_id, {\"flow\":{\"module\":\"somemodule\"}})\n\nInvalid data will result in an exception explaining the problem.\n\nThe server response is returned from each method as a python dictionary of\nthe returned JSON object, for example: ::\n\n >>>client.get_account(acct_id)\n {'auth_token': 'abc437daf8517d0454cc984f6f09daf3',\n 'data': {'billing_mode': 'normal',\n 'caller_id': {},\n 'caller_id_options': {},\n 'id': 'c4f64412ad0057222c12559a3e7da011',\n 'media': {'bypass_media': 'auto'},\n 'music_on_hold': {},\n 'name': 'test3',\n 'notifications': {},\n 'realm': '4c8b50.sip.2600hz.com',\n 'superduper_admin': False,\n 'timezone': 'America/Los_Angeles',\n 'wnm_allow_additions': False},\n 'request_id': 'ea6441422fb85f67ad21db4f1e2326c1',\n 'revision': '3-c16dd0a629fe1da254fe1e7b3e5fb35a',\n 'status': 'success'}\n\nFor each resource exposed by the kazoo api there are corresponding methods\non the client. For example, for the 'callflows' resource the\ncorrespondence is as follows. ::\n\n GET /accounts/{account_id}/callflows -> client.get_callflows(acct_id)\n GET /accounts/{account_id}/callflows/{callflow_id} -> client.get_callflow(acct_id, callflow_id)\n PUT /accounts/{account_id}/callflows/ -> client.create_callflow(acct_id, data)\n POST /account/{account_id}/callflows/{callflow_id} -> client.update_callflow(acct_id, data)\n DELETE /account/{account_id}/callflows/{callflow_id} -> client.delete_callflow(acct_id, callflow_id)\n\nSome resources do not have all methods available, in which case they are\nnot present on the client.\n\nThere are also some resources which don't quite fit this paradigm, they are: ::\n\n GET /accounts/{account_id}/media -> client.get_all_media(acct_id)\n GET /accounts/{account_id}/children -> client.get_account_children(acct_id)\n GET /accounts/{account_id}/descendants -> client.get_account_descendants(acct_id)\n GET /accounts/{account_id}/devices/status -> client.get_all_devices_status(acct_id)\n GET /accounts/{account_id}/servers/{server_id}/deployment -> client.get_deployment(acct_id, server_id)\n GET /accounts/{account_id}/users/hotdesk -> client.get_hotdesk(acct_id)\n\nThe kazoo Rest API documentation is available at https://2600hz.atlassian.net/wiki/display/APIs/Configuration+APIs\n\nYou can see a list of available client methods at: https://kazoo-api.readthedocs.org/en/latest/", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/telephoneorg/kazoo-sdk/tarball/v0.2.4", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/telephoneorg/kazoo-sdk", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "kazoo-sdk", "package_url": "https://pypi.org/project/kazoo-sdk/", "platform": "", "project_url": "https://pypi.org/project/kazoo-sdk/", "project_urls": { "Download": "https://github.com/telephoneorg/kazoo-sdk/tarball/v0.2.4", "Homepage": "https://github.com/telephoneorg/kazoo-sdk" }, "release_url": "https://pypi.org/project/kazoo-sdk/0.2.4/", "requires_dist": null, "requires_python": "", "summary": "Wrapper for the Kazoo API", "version": "0.2.4" }, "last_serial": 3369930, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "b3ebb4b45f610e17df8324ed7337c122", "sha256": "b1451d8df07dc2c32a5cbfe8744c14ff9fbcc054e5bdf66a35f8d29b426bb221" }, "downloads": -1, "filename": "kazoo_sdk-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "b3ebb4b45f610e17df8324ed7337c122", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 20355, "upload_time": "2017-10-24T15:45:38", "url": "https://files.pythonhosted.org/packages/3d/97/e0c21fa9cb857bb49e443ea7f94e3c73bf456037e2557e748d0c8a0da652/kazoo_sdk-0.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "806988c716849d89459c379d96968491", "sha256": "5f31df22c34b94eafad384c97c561b38c4df547a4885458d8f7b808ede87f143" }, "downloads": -1, "filename": "kazoo_sdk-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "806988c716849d89459c379d96968491", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20355, "upload_time": "2017-10-24T15:44:45", "url": "https://files.pythonhosted.org/packages/ee/57/2a50ebd6ca5a39e2017587bc57eb6c498123a2df570ca8037854ce1fa7ac/kazoo_sdk-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e28f0764efc8f9b8230eb18f99f37a54", "sha256": "3d7c40acdc09b3bd35edcebd3f0abef3e6713eab10a177a224e5db089f06c295" }, "downloads": -1, "filename": "kazoo-sdk-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e28f0764efc8f9b8230eb18f99f37a54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13719, "upload_time": "2017-10-24T15:44:48", "url": "https://files.pythonhosted.org/packages/34/b9/9601284f72ddc6c163f8e18fec65b21815c3cae5b03c001b6f768d5ff095/kazoo-sdk-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "e8377b6759023f0642ed552ad3ffb70b", "sha256": "57db51c4f1a1f68bcc000d31a02b9fc0c14878fdcdc53f808e8b4b30ff7bd671" }, "downloads": -1, "filename": "kazoo_sdk-0.2.2-py2-none-any.whl", "has_sig": false, "md5_digest": "e8377b6759023f0642ed552ad3ffb70b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 20908, "upload_time": "2017-11-01T19:16:56", "url": "https://files.pythonhosted.org/packages/29/a9/44c1df179b40af579831df2cfa0cce7e170f2fa89773768217235a2a434d/kazoo_sdk-0.2.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "025566c61c6625f4204c53c831702a9c", "sha256": "67b961a4a015b91cc00266107419088e68e61603d057b44a455675a50a7c963e" }, "downloads": -1, "filename": "kazoo_sdk-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "025566c61c6625f4204c53c831702a9c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20907, "upload_time": "2017-11-01T19:16:56", "url": "https://files.pythonhosted.org/packages/2a/8f/270f7acf5384cdfbea7aa7aa32cd8898f46a3d73b110ebf858137a4f8430/kazoo_sdk-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "005df63acc21296f251120b4b08ad365", "sha256": "d8f3ebab2dfad2752ff53b119754f4a96729a619a9dd08795665765d6c777e66" }, "downloads": -1, "filename": "kazoo-sdk-0.2.2.tar.gz", "has_sig": false, "md5_digest": "005df63acc21296f251120b4b08ad365", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14835, "upload_time": "2017-11-01T19:03:47", "url": "https://files.pythonhosted.org/packages/3e/53/43461791240e79a9bcd54bf8b116c02d9cf1f7cd188d69ce0fc3eb558b1a/kazoo-sdk-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "40d3b22968b5442c07afd6f378e2bbf5", "sha256": "c6341bfcdd4be898749d07430b986957a4b73d56bfb2d2a81fd7412abe219e4c" }, "downloads": -1, "filename": "kazoo_sdk-0.2.3-py2-none-any.whl", "has_sig": false, "md5_digest": "40d3b22968b5442c07afd6f378e2bbf5", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 21052, "upload_time": "2017-11-16T22:42:45", "url": "https://files.pythonhosted.org/packages/b9/9f/98bc54cecdae70968f7dd42b8cb1c40bf2b90e5025d6e00a8997e71a7248/kazoo_sdk-0.2.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de9eadeedfbf2e1cdbe86ad0704eb378", "sha256": "79b35fdb228e4923b3c1eec84d5cb09cb9444e82b92d41939be466155d7a377b" }, "downloads": -1, "filename": "kazoo_sdk-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "de9eadeedfbf2e1cdbe86ad0704eb378", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 21053, "upload_time": "2017-11-16T22:42:47", "url": "https://files.pythonhosted.org/packages/6f/db/262372b548130e545dc598158afe7b64c62089217635dedd94eb206b55aa/kazoo_sdk-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "270834da084d4b1d4ddc361e11f821a4", "sha256": "930304f16c9d0e45d3bbf699961d2a94df8f5cfa1ddedef94a5f3492a9b32204" }, "downloads": -1, "filename": "kazoo-sdk-0.2.3.tar.gz", "has_sig": false, "md5_digest": "270834da084d4b1d4ddc361e11f821a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14969, "upload_time": "2017-11-16T22:44:23", "url": "https://files.pythonhosted.org/packages/dc/ab/1092bd6adc1c5745058166b82b0e9434a3d72e6f391b09afb0bdcf5c916c/kazoo-sdk-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "bc9e1253f0eaa64644bca8f72122ac38", "sha256": "34db426d1adc1ebe5ea7b4159b3e02043a7ee22bfe128913d0aad28e39a72da9" }, "downloads": -1, "filename": "kazoo-sdk-0.2.4.tar.gz", "has_sig": false, "md5_digest": "bc9e1253f0eaa64644bca8f72122ac38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14971, "upload_time": "2017-11-28T03:19:25", "url": "https://files.pythonhosted.org/packages/9b/ac/a07916be9a61ebba93c1f8dc5b01cdc317b4514515a86dbd710a28dab24e/kazoo-sdk-0.2.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bc9e1253f0eaa64644bca8f72122ac38", "sha256": "34db426d1adc1ebe5ea7b4159b3e02043a7ee22bfe128913d0aad28e39a72da9" }, "downloads": -1, "filename": "kazoo-sdk-0.2.4.tar.gz", "has_sig": false, "md5_digest": "bc9e1253f0eaa64644bca8f72122ac38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14971, "upload_time": "2017-11-28T03:19:25", "url": "https://files.pythonhosted.org/packages/9b/ac/a07916be9a61ebba93c1f8dc5b01cdc317b4514515a86dbd710a28dab24e/kazoo-sdk-0.2.4.tar.gz" } ] }