No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
examples
lib
scripts
test
.babelrc
.env.example
.eslintignore
.gitignore
.prettierrc
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
browser.js
index.js
package-lock.json
package.json
superstatic.json

README.md

Build Status Discord XO code style

Web3data Javascript API

Table of Contents

  Usage
  Installation


    Building
    Testing
    Community
  Resources
  Licensing

Usage

Installation

Using node:

npm install web3data-js

Using yarn:

yarn add web3data-js

Using CDN:

<script src="https://unpkg.com/web3data-js"></script>

Building

Builds for node and browser

npm run build

Build for node

npm run build-node

Build for browser

npm run build-browser

Testing

npm test

This will run all tests using the prerecorded responses from fixtures.

npm run test-live

Runs tests using live responses from our endpoints. (Requires API key see Obtaining an Api key).

npm run test-record

Runs tests using live responses from our endpoints and records them in your fixtures folder.

Obtaining an Api key

Sign up for an account at amberdata.io. Then go to your account dashboard and select the API Key tab. Request an API Key for the network that you wish. Then place it in a file named .env. (See example).

example

Run the following command to see web3data-js js in action!

npm run examples

Community

Resources

Licensing

This project is licensed under the Apache Licence 2.0.