This is a demo of the ts-fetch-userapi library available at @lab5e/ts-fetch-userapi
Launch with
npm install
npm run serve..then go to http://localhost:8080/.
The gist of the example is in the retrieveProfile function in src/components/ProfileDemo.vue.