# jos

> A node.js library for jos (JD-Open-SDK)

Latest version **0.0.2** (published 2013-12-16) · 0 weekly downloads

## Install

```sh
npm install jos
pnpm add jos
yarn add jos
bun add jos
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2013-12-16 |
| First published | 2013-12-13 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | hezhijun |

## Links

- npm: https://www.npmjs.com/package/jos
- npm.io page: https://npm.io/package/jos

## Dependencies (1)

- [restler](https://npm.io/package/restler.md) 2.0.1

## Recent versions

- 0.0.2 (latest) — 2013-12-16
- 0.0.1 — 2013-12-13

## README

jos
==========
A node.js library for jos (JD-Open-Service).

Installing
------------

```
npm install jos
```

Example usage
-------------

```javascript
var jos = require("jos");

//Build options with your jd account
var options = {
	"api_url":"http://gw.api.360buy.com/routerjson",
	"app_secret": yourAppSecret,
	"app_key": yourAppKey,
	"format": "json",
	"v": "2.0"
}

//Get a client with options
var jdClient = jos.getJDClient(options);

//Specify app params
var appParam = {
	"ids": "982040",
	"base":"sku_id,name,image_path,brand_name"
};

//Call jdClient.invokeMethod(method,appParam,callback) to execute query.
jdClient.invokeMethod("jingdong.ware.baseproduct.get",appParam,function(data){
	console.log(data);
});

```

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