Package: webexteamssdk
Work with the Webex Teams APIs in native Python!With release v1.6 we are wrapping up active development on the v1.x release and shifting our focus to the next major
release v2!  Please see the work-in-progressRelease Planand contribute your ideas for v2.x enhancements by either
opening enhancementissuesor by joining ourwebexteamssdk - Webex Teams SDK - Python Community Contributorsspace and posting your
ideas there.webexteamssdkis acommunity developedPython library for working with the Webex Teams APIs.  Our goal is to make
working with Webex Teams in Python anativeandnaturalexperience!fromwebexteamssdkimportWebexTeamsAPIapi=WebexTeamsAPI()# Find all rooms that have 'webexteamssdk Demo' in their titleall_rooms=api.rooms.list()demo_rooms=[roomforroominall_roomsif'webexteamssdk Demo'inroom.title]# Delete all of the demo roomsforroomindemo_rooms:api.rooms.delete(room.id)# Create a new demo roomdemo_room=api.rooms.create('webexteamssdk Demo')# Add people to the new demo roomemail_addresses=["test01@cmlccie.com","test02@cmlccie.com"]foremailinemail_addresses:api.memberships.create(demo_room.id,personEmail=email)# Post a message to the new room, and upload a fileapi.messages.create(demo_room.id,text="Welcome to the room!",files=["https://www.webex.com/content/dam/wbx/us/images/dg-integ/teams_icon.png"])That’s more than 6 Webex Teams API calls in less than 23 lines of code (with comments and whitespace), and likely more
than that, since webexteamssdk handlespaginationfor you automatically!webexteamssdk makes your life better…Learn how!Featureswebexteamssdk does all of this for you:Transparently sources your Webex Teams access token from your local environmentProvides and uses default arguments and settings everywhere possible, so you don’t have to think about things like API
endpoint URLs, HTTP headers and JSON formatsRepresents all Webex Teams API interactions using native Python toolsAuthentication and Connection to the Webex Teams Cloud ==>WebexTeamsAPI“connection object”API Calls ==> Hierarchically organized methods underneath theWebexTeamsAPI‘Connection Object’Returned Data Objects ==> Native Python objectsAutomatic and transparent pagination!Automatic rate-limit handling!(wait|retry)Multipart encoding and uploading of local filesAuto-completion in your favorite IDE, descriptive exceptions, and so much more…InstallationInstalling and upgrading webexteamssdk is easy:Install via PIP$pipinstallwebexteamssdkUpgrade to the latest version$pipinstallwebexteamssdk--upgradeDocumentationExcellent documentation is now available at:http://webexteamssdk.readthedocs.ioCheck out theQuickstartto dive in and begin using webexteamssdk.ExamplesAre you looking for some sample scripts?  Check out theexamplesfolder!Have a good example script you would like to share?  Please feel free tocontribute!Release NotesPlease see thereleasespage for release notes on the incremental functionality and bug fixes incorporated into the
published releases.Questions, Support & Discussionwebexteamssdk is acommunity developedandcommunity-supportedproject.  If you experience any issues using this
package, please report them using theissuespage.Please join thePython Webex Teams DevsWebex Teams space to ask questions, join the discussion, and share your
projects and creations.Contributionwebexteamssdkis a community development project.  Feedback, thoughts, ideas, and code contributions are welcome!
Please see theContributingguide for more information.HistoryThe Webex Teams SDK (webexteamssdk) library started as Cisco Spark API (ciscosparkapi). We updated the library’s name in
alignment with Cisco’s re-brand of Cisco Spark to Webex Teams. The Cisco Spark API library has been deprecated and is no
longer supported; however, its open-source codebase is still available in theciscosparkapibranch of this
repository.The development team may make additional name changes as the library evolves with the Webex APIs published on
developer.webex.com.Copyright (c) 2016-2020 Cisco and/or its affiliates.