client.firearms.summary()
A post-ready paragraph and up to five hashtags, built from the record by template (never a model). Explorer; capacity, weight and length need Builder, and are left out below it.
summary(id: string, params?: FirearmSummaryParams): Promise<APIResponse<FirearmSummary>>- stringHeadererforderlich
Ihr API-Schlüssel.
Authorization: Bearer <key>wird ebenfalls akzeptiert.
- stringerforderlich
Resource slug ID
- Akzeptiert
- a lowercase slug: letters, digits and hyphens
- Beispiel
Das Beispiel fragt glock-g17-gen5 ab. Diesen Datensatz auf gunspec.io ansehen, für Menschen dargestellt.
- string
What the text is for, and
postwhen omitted.postis the one style: a paragraph short enough for any platform, with hashtags apart- Akzeptiert
- stringstandard
enLanguage of the text and the category hashtag
- Akzeptiert
- Beispiel
- FirearmSummary
A post-ready paragraph about one firearm, built from its record by template, with hashtags apart and the facts it was built from.
- string
The firearm's slug, as asked for.
- string
The style asked for.
- string
The language of
text. - string
The paragraph, without hashtags. Each sentence states one recorded fact; a fact the record lacks is left out.
- string[]
Up to five, each with its
#: the name, the maker, the cartridge and the category, distinct ignoring case. - string
The record's page on the site, for a link in the post.
- object
The values the text was built from, for a caller that lays out its own.
- string
Display name, as the maker writes it.
- string | null
The manufacturer's name.
- integer | null
Year of introduction.
- string | null
The primary cartridge's name.
- integer
How many further cartridges the firearm is listed in, beyond
calibre. - string | null
The action type, from the
actionTypevocabulary. - integer | null
Standard magazine capacity in rounds.
- number | null
Unloaded weight in grams, without magazine.
- number | null
Overall length in millimetres, stock extended where it folds or collapses.
- string | null
The category id.
- 400
VALIDATION_ERROR - 401
UNAUTHORIZED - 403
FORBIDDEN - 404
NOT_FOUND - 429
RATE_LIMITED - 500
INTERNAL_ERROR
Not yet in the Python SDK.
- 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.