API documentation (#253)

* Remove badges from READMEs (used inside docs)

* Expand intro

* Intro and examples for ApiRx

* examples -> examples-rpc

* Update intros with expanded example

* Don't nest subscriptions
This commit is contained in:
Jaco Greeff
2018-10-11 15:27:00 +02:00
committed by GitHub
parent 35115723e1
commit a4fc2c51e8
42 changed files with 220 additions and 100 deletions
@@ -0,0 +1,20 @@
{
"name": "01_simple_connect",
"version": "0.1.0",
"description": "Example showing how to connect using a WebSocket",
"main": "index.js",
"author": "chevdor",
"license": "MIT",
"scripts": {
"clean": "rimraf node_modules",
"start": "node index.js"
},
"dependencies": {
"@polkadot/rpc-core": "^0.31.1",
"@polkadot/rpc-provider": "^0.31.1"
},
"devDependencies": {
"rimraf": "^2.6.2"
}
}