triggercmd


Nametriggercmd JSON
Version 0.0.17 PyPI version JSON
download
home_page
SummaryPython agent for TRIGGERcmd cloud service.
upload_time2023-05-27 17:10:02
maintainer
docs_urlNone
author
requires_python<3.11,>=3.8
license
keywords triggercmd alexa echo-dot
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TRIGGERcmd Python Package

For the full TRIGGERcmd agent, visit https://triggercmd.com.

Use this package to listen for triggers sent to a computer in your TRIGGERcmd account.

Send triggers with Amazon Alexa, Google Assistant, IFTTT, Zapier, Smart Things, etc.  See [this page](https://www.triggercmd.com/forum/topic/30/list-of-ways-to-trigger-your-commands) for more ways.

## Usage:

```
import json
from triggercmd import agent

computer_id = (your triggercmd computer id)
token = (your triggercmd token)

def my_function(msg):
    print(msg)
    message = json.loads(msg)
    print("Received this trigger:", message['trigger'])

agent.connect(computer_id, token, my_function)
```

## Example output:

```
Connected
{"trigger":"Calculator","id":"13123391234567891acbf123"}
Received this trigger: Calculator
{"trigger":"Notepad","id":"13123391234567891acbf124"}
Received this trigger: Notepad
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "triggercmd",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "<3.11,>=3.8",
    "maintainer_email": "",
    "keywords": "triggercmd,alexa,echo-dot",
    "author": "",
    "author_email": "Russell VanderMey <russell@triggercmd.com>",
    "download_url": "https://files.pythonhosted.org/packages/e7/bb/dda78a29b298a7560c496b7f0ad4f3762d37676ad6ae8eed3a3f9abd483b/triggercmd-0.0.17.tar.gz",
    "platform": null,
    "description": "# TRIGGERcmd Python Package\n\nFor the full TRIGGERcmd agent, visit https://triggercmd.com.\n\nUse this package to listen for triggers sent to a computer in your TRIGGERcmd account.\n\nSend triggers with Amazon Alexa, Google Assistant, IFTTT, Zapier, Smart Things, etc.  See [this page](https://www.triggercmd.com/forum/topic/30/list-of-ways-to-trigger-your-commands) for more ways.\n\n## Usage:\n\n```\nimport json\nfrom triggercmd import agent\n\ncomputer_id = (your triggercmd computer id)\ntoken = (your triggercmd token)\n\ndef my_function(msg):\n    print(msg)\n    message = json.loads(msg)\n    print(\"Received this trigger:\", message['trigger'])\n\nagent.connect(computer_id, token, my_function)\n```\n\n## Example output:\n\n```\nConnected\n{\"trigger\":\"Calculator\",\"id\":\"13123391234567891acbf123\"}\nReceived this trigger: Calculator\n{\"trigger\":\"Notepad\",\"id\":\"13123391234567891acbf124\"}\nReceived this trigger: Notepad\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Python agent for TRIGGERcmd cloud service.",
    "version": "0.0.17",
    "project_urls": {
        "homepage": "https://triggercmd.com",
        "repository": "https://github.com/rvmey/triggercmd-python-agent"
    },
    "split_keywords": [
        "triggercmd",
        "alexa",
        "echo-dot"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ad77759a0e111d72fd7c27e5ad1fa6aa06904f3a39e437b233b019be33d3d293",
                "md5": "e394dbf5c8805603c1ad4459b1e8621c",
                "sha256": "927d58eaab6ec8ae358e4eb9ff465d10dd81db3fc4ceb0512e051bcf86eccae8"
            },
            "downloads": -1,
            "filename": "triggercmd-0.0.17-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e394dbf5c8805603c1ad4459b1e8621c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.11,>=3.8",
            "size": 4429,
            "upload_time": "2023-05-27T17:09:59",
            "upload_time_iso_8601": "2023-05-27T17:09:59.903496Z",
            "url": "https://files.pythonhosted.org/packages/ad/77/759a0e111d72fd7c27e5ad1fa6aa06904f3a39e437b233b019be33d3d293/triggercmd-0.0.17-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e7bbdda78a29b298a7560c496b7f0ad4f3762d37676ad6ae8eed3a3f9abd483b",
                "md5": "321af805e6611cd837137dd65acdbc17",
                "sha256": "290c85b6c73e1223aede6205d284b42eb5e36c73c86e51912b5ce806027ff4f3"
            },
            "downloads": -1,
            "filename": "triggercmd-0.0.17.tar.gz",
            "has_sig": false,
            "md5_digest": "321af805e6611cd837137dd65acdbc17",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.11,>=3.8",
            "size": 3915,
            "upload_time": "2023-05-27T17:10:02",
            "upload_time_iso_8601": "2023-05-27T17:10:02.432210Z",
            "url": "https://files.pythonhosted.org/packages/e7/bb/dda78a29b298a7560c496b7f0ad4f3762d37676ad6ae8eed3a3f9abd483b/triggercmd-0.0.17.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-27 17:10:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rvmey",
    "github_project": "triggercmd-python-agent",
    "github_not_found": true,
    "lcname": "triggercmd"
}
        
Elapsed time: 0.07261s