GunSpec

Manufacturers

Resource class for interacting with the GunSpec Manufacturers API. Wraps all /v1/manufacturers endpoints. Instantiated internally by the GunSpec client and exposed as client.manufacturers.

Authentifizierung erforderlichStudio+

Get a chronological timeline for a manufacturer.

getTimeline(id: string): Promise<APIResponse<ManufacturerTimeline>>
GET/v1/manufacturers/{id}/timeline

  • stringHeadererforderlich

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

  • stringerforderlich

    Manufacturer slug

    Akzeptiert
    a lowercase slug: letters, digits and hyphens
    Beispiel

  • object

    The response payload.

  • object

    Who the timeline is for.

  • string

    Slug of the manufacturer.

  • string

    Display name, as the maker writes it.

  • object[]

    One entry per year they introduced something, oldest first.

  • integer | null

    Year of introduction. Null groups the firearms whose year is unrecorded.

  • object[]

    The firearms they introduced that year.

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

Mindeststufe
Studio+
Monatskontingent
150,000/mo
Anfragerate
120/min
Tageslimit
10,000

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