{"id":14970909,"url":"https://github.com/flynnderek/iotapp-api","last_synced_at":"2026-01-31T20:36:39.192Z","repository":{"id":42688028,"uuid":"276603208","full_name":"FlynnDerek/iotapp-api","owner":"FlynnDerek","description":"An easy API for rapid prototyping of IoT powered apps.","archived":false,"fork":false,"pushed_at":"2022-11-10T05:57:57.000Z","size":3561,"stargazers_count":1,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T14:18:43.321Z","etag":null,"topics":["arduino","blockchain","blockchain-as-a-backend","blockchain-as-a-service","decentralized-applications","internet-of-things","iot","iot-api","iot-platform","microcontroller","serverless","serverless-framework"],"latest_commit_sha":null,"homepage":"https://iotapp.network","language":"JavaScript","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/FlynnDerek.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}},"created_at":"2020-07-02T09:21:57.000Z","updated_at":"2025-01-25T06:29:11.000Z","dependencies_parsed_at":"2023-01-21T21:00:28.039Z","dependency_job_id":null,"html_url":"https://github.com/FlynnDerek/iotapp-api","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/FlynnDerek%2Fiotapp-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlynnDerek%2Fiotapp-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlynnDerek%2Fiotapp-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlynnDerek%2Fiotapp-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlynnDerek","download_url":"https://codeload.github.com/FlynnDerek/iotapp-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190541,"owners_count":20898775,"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":["arduino","blockchain","blockchain-as-a-backend","blockchain-as-a-service","decentralized-applications","internet-of-things","iot","iot-api","iot-platform","microcontroller","serverless","serverless-framework"],"created_at":"2024-09-24T13:44:20.344Z","updated_at":"2026-01-31T20:36:39.165Z","avatar_url":"https://github.com/FlynnDerek.png","language":"JavaScript","readme":"# iotapp-api\n[![GitHub issues](https://img.shields.io/github/issues/FlynnDerek/iotapp-api)](https://github.com/FlynnDerek/iotapp-api/issues)\n[![npm version](https://badge.fury.io/js/iotapp-api.svg)](https://badge.fury.io/js/iotapp-api)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\nAn easy API for building IoT powered dApps with iotapp. \n\n## Overview\nThe iotapp project aims to help developers and teams to integrate, manage and deploy their IoT devices across a decentralized network. Working in conjunction with the [iotapp Console](http://iotapp-alpha.surge.sh/#/login), this package aims to allow for fast prototyping and deployment of dApps built on the network. Get your app keys and start developing for free [here](http://iotapp-alpha.surge.sh/#/register).\n\n\nTo learn more, please visit [our website](http://iotapp-alpha.surge.sh/#/). \n\n## Installation\n\nUse [NPM](https://www.npmjs.com/get-npm) to install iotapp-api\n\n```bash\nnpm install iotapp-api\n```\n\n## Usage\n\n#### Import\n```javascript\nimport iotapp from \"iotapp-api\";\n```\n\n#### Get Public Blockchain\nCall this function to return a copy of the entire iotapp blockchain.\n```Javascript\nvar chainData = [];\n\niotapp.getPublicChain()\n.then(data =\u003e this.chainData = data)\n```\n\n\n#### Get Private Transactions\nPass your channel app key(s) as an argument to get and display each transaction and it's data. \n```Javascript\nvar chainData = [];\n\niotapp.getPrivateChain(\"app_key_1\", \"app_key_2\")\n.then(data =\u003e this.chainData = data)\n```\n\n#### Get Latest Transaction\nPass your app key(s) as an argument to get and display the latest data.\n```Javascript\nvar chainData = [];\n\niotapp.getLatestTx(\"app_key_1\", \"app_key_2\")\n.then(data =\u003e this.chainData = data)\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflynnderek%2Fiotapp-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflynnderek%2Fiotapp-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflynnderek%2Fiotapp-api/lists"}