{"id":13764375,"url":"https://github.com/panholt/err-backend-cisco-spark","last_synced_at":"2025-05-10T19:30:57.433Z","repository":{"id":76241448,"uuid":"63613425","full_name":"panholt/err-backend-cisco-spark","owner":"panholt","description":"An errbot backend for Cisco Spark","archived":true,"fork":false,"pushed_at":"2018-01-17T13:29:23.000Z","size":86,"stargazers_count":12,"open_issues_count":3,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-17T00:33:36.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/panholt.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-07-18T15:11:14.000Z","updated_at":"2023-01-14T02:40:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcff9bc8-a54c-418b-923b-9beffececc34","html_url":"https://github.com/panholt/err-backend-cisco-spark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panholt%2Ferr-backend-cisco-spark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panholt%2Ferr-backend-cisco-spark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panholt%2Ferr-backend-cisco-spark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panholt%2Ferr-backend-cisco-spark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/panholt","download_url":"https://codeload.github.com/panholt/err-backend-cisco-spark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253470667,"owners_count":21913710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T16:00:19.672Z","updated_at":"2025-05-10T19:30:57.178Z","avatar_url":"https://github.com/panholt.png","language":"Python","funding_links":[],"categories":["Bot frameworks"],"sub_categories":[],"readme":"\nThis is an errbot (http://errbot.net) backend for Cisco Spark (https://www.ciscospark.com/)\n\n## Requirements\nPython Requests (https://github.com/kennethreitz/requests)\n\nPython Websocket-client (https://github.com/liris/websocket-client)\n\n\n## Installation\n\n```\ngit clone https://github.com/panholt/err-backend-cisco-spark.git\n```\n\n## Configuration:\n\n```\nBACKEND = 'Cisco Spark'\nBOT_EXTRA_BACKEND_DIR = '/path_to/err-backend-cisco-spark'\n```\n\nto your config.py\n\n## Authentication\n\nThe BOT_IDENTITY needs to be updated to contain the personId, Bearer Token, and email address of the bot\nCreate bot accounts at https://developer.ciscospark.com/add-bot.html\n\n```\nBOT_IDENTITY = {'token' : ''} # Bearer Token belonging to the bot\n```\n\nThe BOT_ADMINS key takes the email address associated with the Cisco Spark Account\n```\nBOT_ADMINS = ('userid@email.com')    # Email Address of bot admins\n```\n\n## Websocket Proxy\nThe WEBSOCKET_PROXY key is used to setup the Websocket.\n\n##Extra Configuration Options\nCisco Spark has a message limit of 7439 characters for the messages API. Errbot should be configured to respect this limit:\n```\nMESSAGE_SIZE_LIMIT = 7439\n```\n\nCisco Spark Webhooks for bots only trigger in 1:1 rooms with the bot, or if the bot is @mentioned in a group room.\nThis backend will automatically register alternate prefixes for the @mention patterns so no additional prefix would be needed.\nFor example \"@bot status\" in a group room would trigger the webhook and the message payload would read \"bot status\", and an alternate prefix of \"bot\" is injected to the Errbot configuration.\n\n## Contributing\n\nPull requests welcome\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanholt%2Ferr-backend-cisco-spark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanholt%2Ferr-backend-cisco-spark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanholt%2Ferr-backend-cisco-spark/lists"}