# rs-client

> Runescape client with caching

Latest version **1.0.0** (published 2016-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install rs-client
pnpm add rs-client
yarn add rs-client
bun add rs-client
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-03-13 |
| First published | 2016-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Paul Rutledge |
| Maintainers | rutledgepaulv |
| Keywords | runescape, client |

## Links

- npm: https://www.npmjs.com/package/rs-client
- Repository: https://github.com/rutledgepaulv/rs-client
- Homepage: https://github.com/rutledgepaulv/rs-client#readme
- Issues: https://github.com/rutledgepaulv/rs-client/issues
- npm.io page: https://npm.io/package/rs-client

## Dependencies (2)

- [promise](https://npm.io/package/promise.md) ^7.1.1
- [request](https://npm.io/package/request.md) ^2.69.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-03-13

## README

[![Build Status](https://travis-ci.org/RutledgePaulV/rs-client.svg?branch=master)](https://travis-ci.org/RutledgePaulV/rs-client)

# rs-client
A simple runescape api client with built-in caching.


### Installation
```bash
npm install --save rs-client
```

### Usage
```javascript
const api = require('rs-client');
const expect = require('chai').expect;

var exchange = new api.GrandExchange();

var ammoCategory = 1;

exchange.getAllItemsForSearchTermsInCategories(['rune'], [ammoCategory]).then(function(results) {
    
    var expected = [ "Rune brutal", "Rune dart", "Rune javelin", "Rune knife", "Rune throwing axe" ];
    
    var items = results.map(result => result.name);
    
    expect(items).to.deep.equal(expected);
    
};
```

---
_Source: https://npm.io/package/rs-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
