towerstats.js
    Preparing search index...

    Class RoutesConstructor

    API routes constructor.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Create a new route constructor.

      Parameters

      • baseURL: string = 'https://api.towerstats.com'

        Specify the base URL of this route constructor.

      Returns RoutesConstructor

    Properties

    baseURL: URL

    Base URL.

    Accessors

    • get badges(): URL

      POST Submit badge data for a Roblox user.

      Returns URL

      /api/badges route.

    • get followers(): URL

      POST Fetch all followers for a Roblox user.

      Returns URL

      /api/followers route.

    • get following(): URL

      POST Fetch all users that a Roblox user is following.

      Returns URL

      /api/following route.

    Methods

    • Append a path to the base URL.

      Parameters

      • path: string

        The path to append.

      Returns URL

      The complete URL.