# traverson-traversal

Makes it easy to traverse RESTful APIs

## Install

Install the component using [Bower](http://bower.io/):

```bash
$ bower install traverson-traversal --save
```

## Usage

Import Web Components polyfill:

```js
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
```

Import Custom Element:

```html
<link rel="import" href="bower_components/traverson-traversal/traverson-traversal.html"> 
```

Use it!:

```html
<traverson-traversal></traverson-traversal>
```

# traverson-traversal

This web component makes it easy to traverse RESTful APIs.

It is based on the amazing [Traverson library](https://github.com/basti1302/traverson).

## Install

Install the component using [Bower](http://bower.io/):

```bash
$ bower install traverson-traversal --save
```

## Usage

Import Web Components polyfill:

```js
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
```

Import Custom Element:

```html
<link rel="import" href="bower_components/traverson-traversal/traverson-traversal.html"> 
```

Use it!:

```html
<traverson-traversal
    from="http://example.org/api"
    follow="['link_to', 'resource']"
    lastResponse="{{document}}">
</traverson-traversal>

<p>{{document}}</p>
```

Add link to traverson project
Add link to traverson project
