Sparky
    Preparing search index...

    Function getRandomGif

    • Fetches a random GIF based on the specified category

      Parameters

      • category: string

        The category of the GIF

      Returns Promise<null | string>

      A Promise that resolves to the URL of the random GIF, or null if no GIF is found