client.firearms.getDimensions()
Get physical dimensions for a firearm.
getDimensions(id: string): Promise<APIResponse<Dimensions>>- stringHeadererforderlich
Ihr API-Schlüssel.
Authorization: Bearer <key>wird ebenfalls akzeptiert.
- stringerforderlich
Resource slug ID
- Akzeptiert
- a lowercase slug: letters, digits and hyphens
- Beispiel
- FirearmDimensions
Physical dimensions in both metric and imperial units.
- string
Slug of the firearm.
- string
Display name, as the maker writes it.
- object
Every dimension in millimetres and grams.
- number | null
Unloaded weight in grams, without magazine.
- number | null
Loaded weight in grams, with a full magazine.
- number | null
Overall length in millimetres, stock extended where it folds or collapses.
- number | null
Barrel length in millimetres, measured from the breech face.
- number | null
Height in millimetres, including sights and a fitted magazine.
- number | null
Width in millimetres at the widest point.
- number | null
Overall length in millimetres with the stock folded or collapsed. Null where it does not.
- object
The same measurements converted to pounds and inches.
- number | null
Unloaded weight in pounds, without magazine. Converted from
weightEmptyG. - number | null
Loaded weight in pounds, with a full magazine. Converted from
weightLoadedG. - number | null
Overall length in inches, stock extended where it folds or collapses. Converted from
overallLengthMm. - number | null
Barrel length in inches, measured from the breech face. Converted from
barrelLengthMm. - number | null
Height in inches, including sights and a fitted magazine. Converted from
heightMm. - number | null
Width in inches at the widest point. Converted from
widthMm. - number | null
Overall length in inches with the stock folded or collapsed. Null where it does not. Converted from
foldedLengthMm.
- 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.