import { http } from '../http'; export class PoeService { public static async getStash(): Promise { const res = await http.get( 'https://pathofexile.com/character-window/get-stash-items?' + 'league=Incursion&tabs=1&tabIndex=6&accountName=DoctorCoctor', ); return res.data; } public static async priceCheck(item: any) { const res = await http.get(`https://poeprices.info/api?l=Incursion&i=${encodeURI(btoa(item))}`, { headers: { 'Cache-Control': 'max-age=600', }, }); return res.data; } }