simple api wrapper for VIU
npm install viu-api-wrapper
# or
yarn add viu-api-wrapper
import {Home, Search, Detail, HLS} from 'viu-api-wrapper';
// get home data
const home = await Home.getData();
// get search data
const search = await Search.getData(keyword);
// get detail data
const detail = await Detail.getData(id);
// get playurl
const playData = await HLS.getPlayUrl(id);