TinyWebDB API

Contents

About

TinyWebDBは、ウェブ上のデータベースにデータを永続的に保存できるようにするAppInventorコンポーネントです。 データは特定のスマートフォンではなくウェブに保存されるため、TinyWebDBを使用して、スマートフォンとアプリ(マルチプレーヤーゲームなど)間の通信を容易にすることができます。

POST HTTP呼び出しを使用して、値を格納および取得できます。

TinyWebDB is an App Inventor component that allows you to store data persistently in a database on the web. Because the data is stored on the web instead of a particular phone, TinyWebDB can be used to facilitate communication between phones and apps (e.g., multi-player games).

You can store and get values with POST HTTP calls.

Protocol

Action
URL
Post Parameters
response
Get Value
{ServiceURL}/getvalue
tag

JSON: [“VALUE”,”{tag}”, {value}]

single value – [“VALUE”, “firstName”, “\”Lewis\””]

list – [“VALUE”, “contacts”, [“Lewis Moten”, “John Smith”, “Jane Doe”]]

Store A Value
{ServiceURL}/storeavalue
tag,value

[“STORED”, “{tag}”, {value}]

ie – [“STORED”, “firstName”, “\”Lewis\””]

Implement

App Engine for Python

WordPress TinyWebDB API

https://github.com/TinyWebDB/tinywebdb-api

PHP TinyWebDB API

https://github.com/edu2web/tinywebdb-php