0.2.9-beta • Published 2 years ago

holodex-api v0.2.9-beta

Weekly downloads
-
License
gpl-3.0
Repository
-
Last release
2 years ago

holodexAPI

holodexAPI is a wrapper for the holodex API, written in TypeScript.

GitHub issues GitHub forks GitHub stars GitHub license

Documentation

You can view the docs here

Installation

Use NPM to install holodex-api.

npm i holodex-api

Example

Also view examples

import {holodex} from 'holodex-api';

const client = new holodex({
    apiKey: 'APIKEY',
})

client.getChannel('UCoSrY_IQQVpmIRZ9Xf-y93g').then(channel => {
  console.log(channel.name); // 'Gawr Gura Ch. hololive-EN'
  console.log(channel.englishName); // 'Gawr Gura'
  console.log(channel.type); // 'vtuber'
});

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Testing

If you are going to working with a local copy, you are going to be using the test script a lot. To setup the test script, set the HOLODEX_API_KEY environment variable to your api key. In this example, we will use DOTENV, which the project already uses.

In the root dir, make a .env file.

HOLODEX_API_KEY="API_KEY"

Thats it!

License

GNU General Public License v3.0

0.2.8-beta

2 years ago

0.2.7-beta

2 years ago

0.2.9-beta

2 years ago

0.2.3-beta

2 years ago

0.2.6-beta

2 years ago

0.2.4-beta

2 years ago

0.2.5-beta

2 years ago

0.2.2-beta

2 years ago

0.2.1-beta

2 years ago

0.2.0-beta

2 years ago

0.1.9-beta

2 years ago

0.1.8-beta

2 years ago

0.1.7-beta

2 years ago

0.1.6-beta

2 years ago

0.1.5-beta

2 years ago

0.1.4-beta

2 years ago

0.1.3-beta

2 years ago

0.1.2

2 years ago