text: // Import the necessary modules.
  /* eslint-disable no-console */
  const AniListApi = require('..')
  
  // Create a new instance of the module.
  const anilist = new AniListApi({
    client_id: process.env.CLIENT_ID,
    client_secret: process.env.CLIENT_SECRET
  })
  
  // Some values to be used by the example.
  const id = 95061
  const page = 1
  const query = 'Chiwa Saito'
  
  // Chain all the staff methods.
  anilist.auth().then(res => {
    console.log(res)
    return anilist.staff.getStaff(id)
  }).then(res => {
    console.log(res)
    return anilist.staff.getPage(page)
  }).then(res => {
    console.log(res)
    return anilist.staff.searchStaff(query)
  }).then(res => console.log(res))
    .catch(err => console.error(err))
  