{"id":28259583,"url":"https://github.com/sdeancos/clicarriots","last_synced_at":"2025-06-15T17:31:51.946Z","repository":{"id":6791710,"uuid":"8039078","full_name":"sdeancos/clicarriots","owner":"sdeancos","description":"The unofficial simple client for carriots platform (in progress)","archived":false,"fork":false,"pushed_at":"2018-06-07T16:31:29.000Z","size":31,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-20T03:12:45.605Z","etag":null,"topics":["api","api-client","carriots","carriots-platform","iot","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sdeancos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-05T21:57:04.000Z","updated_at":"2023-03-31T07:34:03.000Z","dependencies_parsed_at":"2022-08-26T07:02:22.276Z","dependency_job_id":null,"html_url":"https://github.com/sdeancos/clicarriots","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sdeancos/clicarriots","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdeancos%2Fclicarriots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdeancos%2Fclicarriots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdeancos%2Fclicarriots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdeancos%2Fclicarriots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdeancos","download_url":"https://codeload.github.com/sdeancos/clicarriots/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdeancos%2Fclicarriots/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260022314,"owners_count":22947134,"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":["api","api-client","carriots","carriots-platform","iot","python"],"created_at":"2025-05-20T03:12:23.429Z","updated_at":"2025-06-15T17:31:51.936Z","avatar_url":"https://github.com/sdeancos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"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ín (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\t\n\t#without params\n\tcode, response = client_stream.list()\n\t\n\t#with params\n\tcode, response = client_stream.list({\"device\": \"MY ID DEVELOPER DEVICE\"})\n\t\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\t\n\t#without params\n\tcode, response = client_device.list()\n\t\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\t\n\t# Get Types\n\tcode, response = client_device.get_types()\n\t\n\t# Get Sensors\n\tcode, response = client_device.get_sensors()\n\t\n\tprint(code, response)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdeancos%2Fclicarriots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdeancos%2Fclicarriots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdeancos%2Fclicarriots/lists"}