client.manufacturers.getStats()
Get aggregate statistics for a manufacturer.
getStats(id: string): Promise<APIResponse<ManufacturerStats>>- 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 figures are about.
- string
Slug of the manufacturer.
- string
Display name, as the maker writes it.
- object
The aggregate figures. snake_case, as the rollup query names them.
- integer
How many catalogued firearms they make.
- number | null
Mean unloaded weight in grams across their catalog, over the firearms that record one.
- number | null
Mean effective range in metres, over the firearms that record one.
- number | null
Mean magazine capacity, over the firearms that record one.
- integer
How many of their firearms are still in production.
- integer
How many of their firearms are discontinued.
- integer | null
Introduction year of their earliest catalogued firearm. Null when none records one.
- integer | null
Introduction year of their most recent catalogued firearm. Null when none records one.
- object[]
Categories they build in, most first.
- string
Slug of the category.
- string
Display name, as the maker writes it.
- integer
How many of their firearms are in it.
- object
The single cartridge most of their catalog chambers. Null where none of their firearms records a caliber.
- string
Slug of the cartridge.
- string
Display name, as the maker writes it.
- integer
How many of their firearms chamber it.
- 400
VALIDATION_ERROR - 401
UNAUTHORIZED - 403
FORBIDDEN - 404
NOT_FOUND - 429
RATE_LIMITED - 500
INTERNAL_ERROR
- Mindeststufe
- Builder+
- Monatskontingent
- 25,000/mo
- Anfragerate
- 60/min
- Tageslimit
- 2,000
Die Werte gelten für die Mindeststufe dieses Endpunkts. Höhere Stufen erhöhen alle Limits.