GunSpec

Features

Resource class for the GunSpec Features API. Exposed as client.features. A single firearm's icons are feature_icon items in client.firearms.listMedia(id); this lists them all.

Authentifizierung erforderlichExplorer+

List the drawn feature icons, a page at a time. On every plan.

listIcons(params?: ListFeatureIconsParams): Promise<PaginatedResponse<FeatureIcon>>
GET/v1/features/icons

  • stringHeadererforderlich

    Ihr API-Schlüssel. Authorization: Bearer <key> wird ebenfalls akzeptiert.

  • string

    Part of an icon's name; spaces and hyphens read as underscores, so picatinny rail finds picatinny_rail

    Beispiel
  • integerstandard1

    Page number, from 1 to 10,000

    Bereich
    1 – 10000
    Beispiel
  • integerstandard20

    Items per page (max 100)

    Bereich
    1 – 100
    Beispiel

  • FeatureIcon[]

    One page of results

  • string

    The icon's file name without extension, e.g. 5r_rifling. Stable across releases.

  • string

    The name as a reader would write it, e.g. 5R Rifling.

  • string

    The drawing on the assets CDN, a WebP image. Public: it needs no key to fetch.

  • number

    Current page number

  • number

    Items per page

  • number

    Total matching records (Builder and above)

  • 400VALIDATION_ERRORValidation error
  • 401UNAUTHORIZEDAPI key required
  • 403FORBIDDENValid key, not permitted
  • 429RATE_LIMITEDRate limit exceeded
  • 500INTERNAL_ERRORUnexpected server error

Mindeststufe
Explorer+
Monatskontingent
200/mo
Anfragerate
10/min
Tageslimit
50

Die Werte gelten für die Mindeststufe dieses Endpunkts. Höhere Stufen erhöhen alle Limits.