1.0.0 • Published 8 years ago

douban-api-v2 v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

douban-api-v2

豆瓣Api V2

Install

Install using npm:

    $ npm install douban-api-v2

Usage

const client = require('douban-api-v2')

const book = new client.Book()
book.findOne('熊猫')
.then(res => console.log(res))
.catch(err => console.error(err))

const movie = new client.Movie()
movie.findOne('熊猫')
.then(res => console.log(res))
.catch(err => console.error(err))

const music = new client.Music()
music.findOne('熊猫')
.then(res => console.log(res))
.catch(err => console.error(err))

Test

Run tests:

    $ npm test

Tested with node.js v4.0+

License

The MIT License (MIT)

Copyright (c) 2016

1.0.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago