XKCD

Version: 0.0.0
fetch-current-comic
superface

Webcomic of romance, sarcasm, math, and language.

FetchCurrentComic

alt
day
img
link
month
news
num
safeTitle
title
transcript
year

1. Install

npx @superfaceai/cli install fetch-current-comic

2. Use in your code

const { SuperfaceClient } = require('@superfaceai/one-sdk');

const sdk = new SuperfaceClient();

async function run() {
  // Load the installed profile
  const profile = await sdk.getProfile('fetch-current-comic');

  // Use the profile
  const result = await profile
    .getUseCase('FetchCurrentComic')
    .perform();

  return result.unwrap();
}

run();

3. Add providers