{"id":27878693,"url":"https://github.com/m5stack/m5_ezdata","last_synced_at":"2025-05-05T03:14:26.719Z","repository":{"id":91177478,"uuid":"417505013","full_name":"m5stack/M5_EzData","owner":"m5stack","description":"An IoT cloud data storage service provided by M5Stack","archived":false,"fork":false,"pushed_at":"2024-05-20T04:15:00.000Z","size":33,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-05T03:14:20.696Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m5stack.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,"publiccode":null,"codemeta":null}},"created_at":"2021-10-15T13:13:52.000Z","updated_at":"2024-12-01T00:27:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"95395c3c-930f-413f-9010-f2017bf95b82","html_url":"https://github.com/m5stack/M5_EzData","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5stack%2FM5_EzData","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5stack%2FM5_EzData/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5stack%2FM5_EzData/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m5stack%2FM5_EzData/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m5stack","download_url":"https://codeload.github.com/m5stack/M5_EzData/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252429957,"owners_count":21746573,"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":"2025-05-05T03:14:26.194Z","updated_at":"2025-05-05T03:14:26.712Z","avatar_url":"https://github.com/m5stack.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EzData\n\n[![Arduino Lint](https://github.com/m5stack/M5_EzData/actions/workflows/Arduino-Lint-Check.yml/badge.svg)](https://github.com/m5stack/M5_EzData/actions/workflows/Arduino-Lint-Check.yml)\n[![Clang Format](https://github.com/m5stack/M5_EzData/actions/workflows/clang-format-check.yml/badge.svg)](https://github.com/m5stack/M5_EzData/actions/workflows/clang-format-check.yml)\n\n## Function Description\n\nEzData is an IoT cloud data storage service provided by M5Stack. Different devices can insert or extract data into the storage queue through the unique token to realize data sharing.\n\n\u003cimg src=\"https://static-cdn.m5stack.com/resource/docs/static/image/iotservice/ezdata/ezdata_01.webp\" width=\"100%\"\u003e\n\n[Click here for more information and token](http://docs.m5stack.com/en/guide/ezdata/ezdata_v1_arduino)\n\nPrecautions：\u003cbr\u003e1. All the following operations depend on the `unique token`, which is fixed in the same browser environment. Please copy the token before use.\n\u003cbr\u003e2. If no data operation is performed within half a year, the data queue corresponding to the token will be cleared.\n\u003cbr\u003e3. The data will be sorted in descending order according to the inserted time (the last inserted data is at the top of the list), and the data will be accumulated and saved.\n\n`setData(const char *token, const char *topic, int val)`\n- Save data to the top of the specified topic queue\n\n`getData(const char *token, const char *topic, int\u0026 result)`\n\n- Get data from the top of the specified topic queue.\n\n`addToList(const char *token, const char *list, int val)`\n\n- Save data to the top of the specified data list\n\n`getData(const char *token, const char *list, int *Array, int offset, int count)`\n\n-Obtain a set of data from a specified data list. The advantage of using list storage is that it supports the specified data index offset and can obtain multiple data at a time, and the return value is a list.\n\n-list: list name\n\n-offset: the offset relative to the first position of the data list\n\n-count: the number of read data\n\n`removeData(const char *token, const char *field)`\n\n- Delete topic or list, and clear the queue data.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm5stack%2Fm5_ezdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm5stack%2Fm5_ezdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm5stack%2Fm5_ezdata/lists"}