# biojs-rest-psicquic

> JS PSICQUIC client

Latest version **1.3.0** (published 2016-12-06) · Apache 2 license · 0 weekly downloads

## Install

```sh
npm install biojs-rest-psicquic
pnpm add biojs-rest-psicquic
yarn add biojs-rest-psicquic
bun add biojs-rest-psicquic
```

## 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.3.0 |
| Published | 2016-12-06 |
| First published | 2014-08-06 |
| Weekly downloads | 0 |
| License | Apache 2 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | jmVillaveces |
| Maintainers | secevalliv |
| Keywords | biojs, molecular, interactions, PSICQUIC, rest |

## Links

- npm: https://www.npmjs.com/package/biojs-rest-psicquic
- Repository: https://github.com/jmVillaveces/biojs-rest-psicquic
- Issues: https://github.com/jmVillaveces/biojs-rest-psicquic/issues
- npm.io page: https://npm.io/package/biojs-rest-psicquic

## Dependencies (1)

- [nets](https://npm.io/package/nets.md) ^1.0.0

## Recent versions

- 1.3.0 (latest) — 2016-12-06
- 1.2.0 — 2015-02-05
- 1.1.0 — 2014-09-24
- 1.0.0 — 2014-09-23
- 0.0.1 — 2014-08-06

## README

# biojs-rest-psicquic

A JavaScript library to query [Psicquic servers] (https://github.com/MICommunity/psicquic)

## Getting Started

### Installing

In order to get started, you'll want to install biojs-rest-psicquic with npm.

```
npm install biojs-rest-psicquic
```

### Working with biojs-rest-psicquic

First require biojs-rest-psicquic and set the server url to query.

```
var psicquic = require('biojs-rest-psicquic'), 
    url = 'http://www.ebi.ac.uk/Tools/webservices/psicquic/intact/webservices/current/search';
    
    psicquic.url(url);
```

Then simply set the query parameters and process the responce 

```
psicquic.params({firstResult:1, maxResults:5}).query('species:human', function(err, resp, body){
    console.log(body);
});
```

To get the number of interactions in a given query use the count method

```
psicquic.count('species:human', function(err, resp, body){
    console.log(body);
});
```

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