1import{a2 as a}from"./QJre-PsH.js";class n extends a{constructor(e,s){super(e,s)}async getNews(e){let s="/v3/news?";return e?.news_category_id&&(s+=`&news_category_id=${e.news_category_id}`),e?.per_page&&(s+=`&per_page=${e.per_page}`),e?.page&&(s+=`&page=${e.page}`),s=s.replace("?&","?"),await this.get(s)}async getSingleNews(e){const s="/v3/news/"+e;return await this.get(s)}async getNewsByKeyword(e){const s=`/v3/news/search?search=${e}`;return await this.get(s)}}export{n as N};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.