capacitor-restapi-plugin

A Capacitor plugin for fetching and processing cover images from a remote API.

Install

npm install capacitor-restapi-plugin
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
Param Type
options { value: string; }

Returns: Promise<{ value: string; }>


getLatestCover(...)

getLatestCover(options: { amount: number; }) => Promise<{ covers: string[]; }>
Param Type
options { amount: number; }

Returns: Promise<{ covers: string[]; }>