{ "info": { "author": "Samuel de Ancos", "author_email": "sdeancos@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "clicarriots (version 0.2.0)\n===============\n\n[![Downloads](http://pepy.tech/badge/clicarriots)](http://pepy.tech/project/clicarriots)\n\nThe unofficial simple client for carriots platform (in progress) (python 2.x/3.x)\n\nYou can find more information about carriots in http://www.carriots.com/\n\nThis client only support part of API from Carriots.com: Stream and Device.\n\nForum: http://forum.carriots.com/\n\nBlog: https://blog.carriots.com/\n\nAuthor\n------\n\nSamuel de Ancos Mart\u00edn (Core developer Carriots)\n\nMy Email: sdeancos@gmail.com\n\nMy Website: http://www.deancos.com\n\n\nInstall\n=======\n\n\t$ pip install clicarriots\n\nUsage\n=====\n\nStream\n======\n\nExample send stream\n-------------------\n\tfrom clicarriots import api\n\tfrom datetime import datetime\n\n\tclient_stream = api.Stream(\"YOUR APIKEY\")\n\tmy_at = datetime.now()\n\t#my_at = 'now'\n\tdata = {\"KEY\":\"VALUE\"}\n\tcode, response = client_stream.send('ID_DEVELOPER_DEVICE', data, my_at, 'stream')\n\tprint(code, response)\n\nExample get stream\n------------------\n\tfrom clicarriots import api\n\tfrom datetime import datetime\n\n\tclient_stream = api.Stream(\"YOUR APIKEY\")\n\n\tcode, response = client_stream.get(\"ID_DEVELOPER_Stream\")\n\tprint(code, response)\n\nExample get list streams\n------------------------\n\tfrom clicarriots import api\n\tfrom datetime import datetime\n\n\tclient_stream = api.Stream(\"YOUR APIKEY\")\n\n\t#without params\n\tcode, response = client_stream.list()\n\n\t#with params\n\tcode, response = client_stream.list({\"device\": \"MY ID DEVELOPER DEVICE\"})\n\n\tprint(code, response)\n\nDropbox\n=======\n\nExample get urls dropbox\n------------------------\n\tfrom clicarriots import api\n\n\tclient_dropbox = api.Dropbox(\"YOUR APIKEY\")\n\tcode, response = client_dropbox.get(\"YOUR FILE IN DROPBOX\", op = \"all\", mime = \"video\") \n\tprint(code, response)\n\nDevice\n======\n\nExample get a device\n--------------------\n\tfrom clicarriots import api\n\n\tclient_device = api.Device(\"YOUR APIKEY\")\n\tcode, response = client_device.get(\"ID_DEVELOPER_DEVICE\")\n\tprint(code, response)\n\nExample get list devices\n------------------------\n\tfrom clicarriots import api\n\n\tclient_device = api.Device(\"YOUR APIKEY\")\n\n\t#without params\n\tcode, response = client_device.list()\n\n\t#with params\n\tcode, response = client_device.list({\"name\": \"MY DEVICE NAME\"})\n\n\tprint(code, response)\n\nExample create a device\n-----------------------\n\tfrom clicarriots import api\n\n\tclient_device = api.Device(\"YOUR APIKEY\")\n\tdata = {} # Valid json\n\tcode, response = client_device.create(data)\n\tprint(code, response)\n\nExample update a device\n-----------------------\n\tfrom clicarriots import api\n\n\tclient_device = api.Device(\"YOUR APIKEY\")\n\tdata = {} # Valid json\n\tcode, response = client_device.update(\"ID_DEVELOPER_DEVICE\", data)\n\tprint(code, response)\n\nExample delete a device\n-----------------------\n\tfrom clicarriots import api\n\n\tclient_device = api.Device(\"YOUR APIKEY\")\n\tcode, response = client_device.delete(\"ID_DEVELOPER_DEVICE\")\n\tprint(code, response)\n\nExample get types and sensors\n-----------------------------\n\tfrom clicarriots import api\n\n\tclient_device = api.Device(\"YOUR APIKEY\")\n\n\t# Get Types\n\tcode, response = client_device.get_types()\n\n\t# Get Sensors\n\tcode, response = client_device.get_sensors()\n\n\tprint(code, response)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/sdeancos/clicarriots/tarball/0.2.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sdeancos/clicarriots", "keywords": "carriots,iot,internet of things", "license": "", "maintainer": "", "maintainer_email": "", "name": "clicarriots", "package_url": "https://pypi.org/project/clicarriots/", "platform": "", "project_url": "https://pypi.org/project/clicarriots/", "project_urls": { "Download": "https://github.com/sdeancos/clicarriots/tarball/0.2.0", "Homepage": "https://github.com/sdeancos/clicarriots" }, "release_url": "https://pypi.org/project/clicarriots/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "The unofficial simple client for carriots platform (in progress) (python 2.x/3.x)", "version": "0.2.0" }, "last_serial": 3940302, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "85c3048540cc194fe27792cefc4b7d47", "sha256": "b6856fd88ad5706e7546c25316b28beedc155a813af2a0be85ef1ff163201a52" }, "downloads": -1, "filename": "clicarriots-0.1.tar.gz", "has_sig": false, "md5_digest": "85c3048540cc194fe27792cefc4b7d47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2283, "upload_time": "2016-01-20T16:14:02", "url": "https://files.pythonhosted.org/packages/6b/ce/9185b8dcde08668a90a89658f1304e093e972e9465f8afc52e7e50891226/clicarriots-0.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "ae8193bab4705c08dc98752aefd24f4c", "sha256": "699a617686a5f268580658b3ac0f35a25fa209f91e81a47bb40110837593872f" }, "downloads": -1, "filename": "clicarriots-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ae8193bab4705c08dc98752aefd24f4c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4161, "upload_time": "2018-06-07T16:31:52", "url": "https://files.pythonhosted.org/packages/4f/e7/608693512403a919aa320984bbc174ed3a9520c650abbce791ee569e9d29/clicarriots-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f562571fd9c563aaeeab3199fcf1e309", "sha256": "9d2194db0ed71a8961a4142066d04f612cfd7331860a0f4ce31740d9f9083d9c" }, "downloads": -1, "filename": "clicarriots-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f562571fd9c563aaeeab3199fcf1e309", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3695, "upload_time": "2018-06-07T16:31:53", "url": "https://files.pythonhosted.org/packages/45/bc/bce9b638dc7bb92b5e02616db5ea7232b7760358e0455c289487ad4fe978/clicarriots-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ae8193bab4705c08dc98752aefd24f4c", "sha256": "699a617686a5f268580658b3ac0f35a25fa209f91e81a47bb40110837593872f" }, "downloads": -1, "filename": "clicarriots-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ae8193bab4705c08dc98752aefd24f4c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4161, "upload_time": "2018-06-07T16:31:52", "url": "https://files.pythonhosted.org/packages/4f/e7/608693512403a919aa320984bbc174ed3a9520c650abbce791ee569e9d29/clicarriots-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f562571fd9c563aaeeab3199fcf1e309", "sha256": "9d2194db0ed71a8961a4142066d04f612cfd7331860a0f4ce31740d9f9083d9c" }, "downloads": -1, "filename": "clicarriots-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f562571fd9c563aaeeab3199fcf1e309", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3695, "upload_time": "2018-06-07T16:31:53", "url": "https://files.pythonhosted.org/packages/45/bc/bce9b638dc7bb92b5e02616db5ea7232b7760358e0455c289487ad4fe978/clicarriots-0.2.0.tar.gz" } ] }