Star Wars Character Information

Version: 1.0.4
starwars/character-information
superface

Retrive information about Star Wars characters.

Retrieve Character Info

Retrieve information about a Star Wars character.

Character name
Height
Weight
Year of birth

1. Install

npx @superfaceai/cli install starwars/character-information

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('starwars/character-information');

  // Use the profile
  const result = await profile
    .getUseCase('RetrieveCharacterInformation')
    .perform({
      characterName: 'Luke Skywalker'
    });

  return result.unwrap();
}

run();

3. Add providers