2.0.1 • Published 8 years ago

bgm-fetch v2.0.1

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

bgm-fetch

NPM version NPM download Build Status: Linux

import bgm from 'bgm-fetch'

// Retrieve the animes that are currently airing
// Format by weekday
bgm({ format: true })
  .then(data => console.log(data))
  .catch(error => console.error(error))

// Retrieve specific season
bgm({
  year: 2015,
  season: 7
})

// Use custom proxy, default one: 'https://cdn.rawgit.com/bangumi-data/bangumi-data/master/data/items/{year}/{season}.json'
bgm({ proxy: 'https://xxx.com/api.json' })

Related

  • bgm - CLI of this module.

License

MIT © EGOIST

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

9 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.31

10 years ago

0.0.3

10 years ago

0.0.22

10 years ago

0.0.2

10 years ago

0.0.11

10 years ago

0.0.1

10 years ago