
wikipathways-api-client-js
==============

JS client for WikiPathways.org web services API. Not all API endpoints are handled yet, so pull requests are welcome!

## For Developers

To start developing

* Install [Node.js](https://nodejs.org/)

* Install gulp globally
```bash
npm install -g gulp
```
* Clone (download) this repo
```bash
git clone git@github.com:wikipathways/wikipathways-api-client-js.git
cd wikipathways-api-client-js
```
* Install the dependencies
```bash
npm install
```
* TODO get this working again; it's not currently working ~~Start the dev environment, which will compile your code on the fly and open and refresh the test home page:~~
```bash
gulp
```

~~The production-ready, minified code for the browser will be located at [./dist/wikipathways-api-client-1.0.10.bundle.min.js](https://github.com/wikipathways/wikipathways-api-client-js/blob/master/dist/wikipathways-api-client-1.0.10.bundle.min.js). The dev bundle will be an unminified version of the latest code.~~

wikipathways-api-client-js
==============

JS client for WikiPathways.org web services API. Not all API endpoints are handled yet, so pull requests are welcome!

## For Developers

To start developing

* Install [Node.js](https://nodejs.org/)

* Install gulp globally
```bash
npm install -g gulp
```
* Clone (download) this repo
```bash
git clone git@github.com:wikipathways/wikipathways-api-client-js.git
cd wikipathways-api-client-js
```
* Install the dependencies
```bash
npm install
```

To build a browser-ready bundle:
```
browserify ./index.js -o ./dist/wikipathways-api-client-js.dev.js
```

TODO get the item below working again; it's not currently working:
* ~~Start the dev environment, which will compile your code on the fly and open and refresh the test home page:~~
<!--
```bash
gulp
```
-->

~~The production-ready, minified code for the browser will be located at [./dist/wikipathways-api-client-1.0.10.bundle.min.js](https://github.com/wikipathways/wikipathways-api-client-js/blob/master/dist/wikipathways-api-client-1.0.10.bundle.min.js). The dev bundle will be an unminified version of the latest code.~~

Update instructions on building for browser
Update instructions on building for browser
