@space-cow-media/spellbook-client 7.1.11 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/CardListFromTextApi.d.ts +1 -1
- package/dist/apis/CardListFromTextApi.js +1 -1
- package/dist/apis/CardListFromUrlApi.d.ts +1 -1
- package/dist/apis/CardListFromUrlApi.js +1 -1
- package/dist/apis/CardsApi.d.ts +1 -1
- package/dist/apis/CardsApi.js +1 -1
- package/dist/apis/DefaultApi.d.ts +1 -1
- package/dist/apis/DefaultApi.js +1 -1
- package/dist/apis/EstimateBracketApi.d.ts +1 -1
- package/dist/apis/EstimateBracketApi.js +1 -1
- package/dist/apis/ExplainQueryApi.d.ts +1 -1
- package/dist/apis/ExplainQueryApi.js +1 -1
- package/dist/apis/FeaturesApi.d.ts +1 -1
- package/dist/apis/FeaturesApi.js +1 -1
- package/dist/apis/FindMyCombosApi.d.ts +1 -1
- package/dist/apis/FindMyCombosApi.js +1 -1
- package/dist/apis/PropertiesApi.d.ts +1 -1
- package/dist/apis/PropertiesApi.js +1 -1
- package/dist/apis/SaltVotesApi.d.ts +1 -1
- package/dist/apis/SaltVotesApi.js +1 -1
- package/dist/apis/TemplatesApi.d.ts +11 -7
- package/dist/apis/TemplatesApi.js +8 -5
- package/dist/apis/TemplatesApi.js.map +1 -1
- package/dist/apis/TokenApi.d.ts +1 -1
- package/dist/apis/TokenApi.js +1 -1
- package/dist/apis/UsersApi.d.ts +1 -1
- package/dist/apis/UsersApi.js +1 -1
- package/dist/apis/VariantAliasesApi.d.ts +1 -1
- package/dist/apis/VariantAliasesApi.js +1 -1
- package/dist/apis/VariantSuggestionsApi.d.ts +1 -1
- package/dist/apis/VariantSuggestionsApi.js +1 -1
- package/dist/apis/VariantUpdateSuggestionsApi.d.ts +1 -1
- package/dist/apis/VariantUpdateSuggestionsApi.js +1 -1
- package/dist/apis/VariantsApi.d.ts +1 -1
- package/dist/apis/VariantsApi.js +1 -1
- package/dist/models/BracketTagEnum.d.ts +1 -1
- package/dist/models/BracketTagEnum.js +1 -1
- package/dist/models/Card.d.ts +1 -1
- package/dist/models/Card.js +1 -1
- package/dist/models/CardDetail.d.ts +54 -54
- package/dist/models/CardDetail.js +56 -56
- package/dist/models/CardDetail.js.map +1 -1
- package/dist/models/CardInDeck.d.ts +1 -1
- package/dist/models/CardInDeck.js +1 -1
- package/dist/models/CardInDeckRequest.d.ts +1 -1
- package/dist/models/CardInDeckRequest.js +1 -1
- package/dist/models/CardInVariant.d.ts +1 -1
- package/dist/models/CardInVariant.js +1 -1
- package/dist/models/CardLegalities.d.ts +1 -1
- package/dist/models/CardLegalities.js +1 -1
- package/dist/models/CardPrices.d.ts +1 -1
- package/dist/models/CardPrices.js +1 -1
- package/dist/models/CardUsedInVariantSuggestion.d.ts +1 -1
- package/dist/models/CardUsedInVariantSuggestion.js +1 -1
- package/dist/models/CardUsedInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/CardUsedInVariantSuggestionRequest.js +1 -1
- package/dist/models/ClassifiedCard.d.ts +1 -1
- package/dist/models/ClassifiedCard.js +1 -1
- package/dist/models/ClassifiedVariant.d.ts +1 -1
- package/dist/models/ClassifiedVariant.js +1 -1
- package/dist/models/ColorEnum.d.ts +1 -1
- package/dist/models/ColorEnum.js +1 -1
- package/dist/models/Combo.d.ts +1 -1
- package/dist/models/Combo.js +1 -1
- package/dist/models/Deck.d.ts +1 -1
- package/dist/models/Deck.js +1 -1
- package/dist/models/DeckRequest.d.ts +1 -1
- package/dist/models/DeckRequest.js +1 -1
- package/dist/models/EstimateBracketResult.d.ts +1 -1
- package/dist/models/EstimateBracketResult.js +1 -1
- package/dist/models/Feature.d.ts +1 -1
- package/dist/models/Feature.js +1 -1
- package/dist/models/FeatureOfCard.d.ts +1 -1
- package/dist/models/FeatureOfCard.js +1 -1
- package/dist/models/FeatureProducedByVariant.d.ts +1 -1
- package/dist/models/FeatureProducedByVariant.js +1 -1
- package/dist/models/FeatureProducedInVariantSuggestion.d.ts +1 -1
- package/dist/models/FeatureProducedInVariantSuggestion.js +1 -1
- package/dist/models/FeatureProducedInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/FeatureProducedInVariantSuggestionRequest.js +1 -1
- package/dist/models/FeatureStatusEnum.d.ts +1 -1
- package/dist/models/FeatureStatusEnum.js +1 -1
- package/dist/models/FindMyCombosResponse.d.ts +1 -1
- package/dist/models/FindMyCombosResponse.js +1 -1
- package/dist/models/InvalidUrlResponse.d.ts +1 -1
- package/dist/models/InvalidUrlResponse.js +1 -1
- package/dist/models/KindEnum.d.ts +1 -1
- package/dist/models/KindEnum.js +1 -1
- package/dist/models/LayoutRotationEnum.d.ts +1 -1
- package/dist/models/LayoutRotationEnum.js +1 -1
- package/dist/models/PaginatedCardDetailList.d.ts +1 -1
- package/dist/models/PaginatedCardDetailList.js +1 -1
- package/dist/models/PaginatedFeatureList.d.ts +1 -1
- package/dist/models/PaginatedFeatureList.js +1 -1
- package/dist/models/PaginatedFindMyCombosResponseList.d.ts +1 -1
- package/dist/models/PaginatedFindMyCombosResponseList.js +1 -1
- package/dist/models/PaginatedFindMyCombosResponseListResults.d.ts +1 -1
- package/dist/models/PaginatedFindMyCombosResponseListResults.js +1 -1
- package/dist/models/PaginatedSaltVoteList.d.ts +1 -1
- package/dist/models/PaginatedSaltVoteList.js +1 -1
- package/dist/models/{PaginatedTemplateList.d.ts → PaginatedTemplateDetailList.d.ts} +11 -11
- package/dist/models/{PaginatedTemplateList.js → PaginatedTemplateDetailList.js} +13 -13
- package/dist/models/PaginatedTemplateDetailList.js.map +1 -0
- package/dist/models/PaginatedUserDetailList.d.ts +1 -1
- package/dist/models/PaginatedUserDetailList.js +1 -1
- package/dist/models/PaginatedVariantAliasList.d.ts +1 -1
- package/dist/models/PaginatedVariantAliasList.js +1 -1
- package/dist/models/PaginatedVariantList.d.ts +1 -1
- package/dist/models/PaginatedVariantList.js +1 -1
- package/dist/models/PaginatedVariantSuggestionList.d.ts +1 -1
- package/dist/models/PaginatedVariantSuggestionList.js +1 -1
- package/dist/models/PaginatedVariantUpdateSuggestionList.d.ts +1 -1
- package/dist/models/PaginatedVariantUpdateSuggestionList.js +1 -1
- package/dist/models/PaginatedWebsitePropertyList.d.ts +1 -1
- package/dist/models/PaginatedWebsitePropertyList.js +1 -1
- package/dist/models/PatchedUserDetailRequest.d.ts +1 -1
- package/dist/models/PatchedUserDetailRequest.js +1 -1
- package/dist/models/PatchedVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/PatchedVariantSuggestionRequest.js +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequest.d.ts +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequest.js +1 -1
- package/dist/models/ProducedManaEnum.d.ts +1 -1
- package/dist/models/ProducedManaEnum.js +1 -1
- package/dist/models/QueryExplanation.d.ts +1 -1
- package/dist/models/QueryExplanation.js +1 -1
- package/dist/models/QueryExplanationValidationError.d.ts +1 -1
- package/dist/models/QueryExplanationValidationError.js +1 -1
- package/dist/models/SaltVote.d.ts +1 -1
- package/dist/models/SaltVote.js +1 -1
- package/dist/models/SaltVoteRequest.d.ts +1 -1
- package/dist/models/SaltVoteRequest.js +1 -1
- package/dist/models/SuggestionStatusEnum.d.ts +1 -1
- package/dist/models/SuggestionStatusEnum.js +1 -1
- package/dist/models/Template.d.ts +1 -1
- package/dist/models/Template.js +1 -1
- package/dist/models/TemplateDetail.d.ts +55 -0
- package/dist/models/TemplateDetail.js +57 -0
- package/dist/models/TemplateDetail.js.map +1 -0
- package/dist/models/TemplateInVariant.d.ts +1 -1
- package/dist/models/TemplateInVariant.js +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestion.d.ts +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestion.js +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.js +1 -1
- package/dist/models/TokenObtainPair.d.ts +1 -1
- package/dist/models/TokenObtainPair.js +1 -1
- package/dist/models/TokenObtainPairRequest.d.ts +1 -1
- package/dist/models/TokenObtainPairRequest.js +1 -1
- package/dist/models/TokenRefresh.d.ts +1 -1
- package/dist/models/TokenRefresh.js +1 -1
- package/dist/models/TokenRefreshRequest.d.ts +1 -1
- package/dist/models/TokenRefreshRequest.js +1 -1
- package/dist/models/TokenVerifyRequest.d.ts +1 -1
- package/dist/models/TokenVerifyRequest.js +1 -1
- package/dist/models/User.d.ts +1 -1
- package/dist/models/User.js +1 -1
- package/dist/models/UserDetail.d.ts +1 -1
- package/dist/models/UserDetail.js +1 -1
- package/dist/models/UserDetailRequest.d.ts +1 -1
- package/dist/models/UserDetailRequest.js +1 -1
- package/dist/models/UserRequest.d.ts +1 -1
- package/dist/models/UserRequest.js +1 -1
- package/dist/models/Variant.d.ts +1 -1
- package/dist/models/Variant.js +1 -1
- package/dist/models/VariantAlias.d.ts +1 -1
- package/dist/models/VariantAlias.js +1 -1
- package/dist/models/VariantInVariantUpdateSuggestion.d.ts +1 -1
- package/dist/models/VariantInVariantUpdateSuggestion.js +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionRequest.d.ts +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionRequest.js +1 -1
- package/dist/models/VariantLegalities.d.ts +1 -1
- package/dist/models/VariantLegalities.js +1 -1
- package/dist/models/VariantPrices.d.ts +1 -1
- package/dist/models/VariantPrices.js +1 -1
- package/dist/models/VariantStatusEnum.d.ts +1 -1
- package/dist/models/VariantStatusEnum.js +1 -1
- package/dist/models/VariantSuggestion.d.ts +1 -1
- package/dist/models/VariantSuggestion.js +1 -1
- package/dist/models/VariantSuggestionRequest.d.ts +1 -1
- package/dist/models/VariantSuggestionRequest.js +1 -1
- package/dist/models/VariantUpdateSuggestion.d.ts +1 -1
- package/dist/models/VariantUpdateSuggestion.js +1 -1
- package/dist/models/VariantUpdateSuggestionRequest.d.ts +1 -1
- package/dist/models/VariantUpdateSuggestionRequest.js +1 -1
- package/dist/models/VariantsQueryValidationError.d.ts +1 -1
- package/dist/models/VariantsQueryValidationError.js +1 -1
- package/dist/models/WebsiteProperty.d.ts +1 -1
- package/dist/models/WebsiteProperty.js +1 -1
- package/dist/models/ZoneLocationsEnum.d.ts +1 -1
- package/dist/models/ZoneLocationsEnum.js +1 -1
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.js +2 -1
- package/dist/models/index.js.map +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +4 -2
- package/spellbook-client/apis/CardListFromTextApi.ts +1 -1
- package/spellbook-client/apis/CardListFromUrlApi.ts +1 -1
- package/spellbook-client/apis/CardsApi.ts +1 -1
- package/spellbook-client/apis/DefaultApi.ts +1 -1
- package/spellbook-client/apis/EstimateBracketApi.ts +1 -1
- package/spellbook-client/apis/ExplainQueryApi.ts +1 -1
- package/spellbook-client/apis/FeaturesApi.ts +1 -1
- package/spellbook-client/apis/FindMyCombosApi.ts +1 -1
- package/spellbook-client/apis/PropertiesApi.ts +1 -1
- package/spellbook-client/apis/SaltVotesApi.ts +1 -1
- package/spellbook-client/apis/TemplatesApi.ts +23 -15
- package/spellbook-client/apis/TokenApi.ts +1 -1
- package/spellbook-client/apis/UsersApi.ts +1 -1
- package/spellbook-client/apis/VariantAliasesApi.ts +1 -1
- package/spellbook-client/apis/VariantSuggestionsApi.ts +1 -1
- package/spellbook-client/apis/VariantUpdateSuggestionsApi.ts +1 -1
- package/spellbook-client/apis/VariantsApi.ts +1 -1
- package/spellbook-client/docs/CardDetail.md +28 -28
- package/spellbook-client/docs/{PaginatedTemplateList.md → PaginatedTemplateDetailList.md} +5 -5
- package/spellbook-client/docs/TemplateDetail.md +42 -0
- package/spellbook-client/docs/TemplatesApi.md +7 -4
- package/spellbook-client/models/BracketTagEnum.ts +1 -1
- package/spellbook-client/models/Card.ts +1 -1
- package/spellbook-client/models/CardDetail.ts +95 -95
- package/spellbook-client/models/CardInDeck.ts +1 -1
- package/spellbook-client/models/CardInDeckRequest.ts +1 -1
- package/spellbook-client/models/CardInVariant.ts +1 -1
- package/spellbook-client/models/CardLegalities.ts +1 -1
- package/spellbook-client/models/CardPrices.ts +1 -1
- package/spellbook-client/models/CardUsedInVariantSuggestion.ts +1 -1
- package/spellbook-client/models/CardUsedInVariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/ClassifiedCard.ts +1 -1
- package/spellbook-client/models/ClassifiedVariant.ts +1 -1
- package/spellbook-client/models/ColorEnum.ts +1 -1
- package/spellbook-client/models/Combo.ts +1 -1
- package/spellbook-client/models/Deck.ts +1 -1
- package/spellbook-client/models/DeckRequest.ts +1 -1
- package/spellbook-client/models/EstimateBracketResult.ts +1 -1
- package/spellbook-client/models/Feature.ts +1 -1
- package/spellbook-client/models/FeatureOfCard.ts +1 -1
- package/spellbook-client/models/FeatureProducedByVariant.ts +1 -1
- package/spellbook-client/models/FeatureProducedInVariantSuggestion.ts +1 -1
- package/spellbook-client/models/FeatureProducedInVariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/FeatureStatusEnum.ts +1 -1
- package/spellbook-client/models/FindMyCombosResponse.ts +1 -1
- package/spellbook-client/models/InvalidUrlResponse.ts +1 -1
- package/spellbook-client/models/KindEnum.ts +1 -1
- package/spellbook-client/models/LayoutRotationEnum.ts +1 -1
- package/spellbook-client/models/PaginatedCardDetailList.ts +1 -1
- package/spellbook-client/models/PaginatedFeatureList.ts +1 -1
- package/spellbook-client/models/PaginatedFindMyCombosResponseList.ts +1 -1
- package/spellbook-client/models/PaginatedFindMyCombosResponseListResults.ts +1 -1
- package/spellbook-client/models/PaginatedSaltVoteList.ts +1 -1
- package/spellbook-client/models/{PaginatedTemplateList.ts → PaginatedTemplateDetailList.ts} +20 -20
- package/spellbook-client/models/PaginatedUserDetailList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantAliasList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantSuggestionList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantUpdateSuggestionList.ts +1 -1
- package/spellbook-client/models/PaginatedWebsitePropertyList.ts +1 -1
- package/spellbook-client/models/PatchedUserDetailRequest.ts +1 -1
- package/spellbook-client/models/PatchedVariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/PatchedVariantUpdateSuggestionRequest.ts +1 -1
- package/spellbook-client/models/ProducedManaEnum.ts +1 -1
- package/spellbook-client/models/QueryExplanation.ts +1 -1
- package/spellbook-client/models/QueryExplanationValidationError.ts +1 -1
- package/spellbook-client/models/SaltVote.ts +1 -1
- package/spellbook-client/models/SaltVoteRequest.ts +1 -1
- package/spellbook-client/models/SuggestionStatusEnum.ts +1 -1
- package/spellbook-client/models/Template.ts +1 -1
- package/spellbook-client/models/TemplateDetail.ts +98 -0
- package/spellbook-client/models/TemplateInVariant.ts +1 -1
- package/spellbook-client/models/TemplateRequiredInVariantSuggestion.ts +1 -1
- package/spellbook-client/models/TemplateRequiredInVariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/TokenObtainPair.ts +1 -1
- package/spellbook-client/models/TokenObtainPairRequest.ts +1 -1
- package/spellbook-client/models/TokenRefresh.ts +1 -1
- package/spellbook-client/models/TokenRefreshRequest.ts +1 -1
- package/spellbook-client/models/TokenVerifyRequest.ts +1 -1
- package/spellbook-client/models/User.ts +1 -1
- package/spellbook-client/models/UserDetail.ts +1 -1
- package/spellbook-client/models/UserDetailRequest.ts +1 -1
- package/spellbook-client/models/UserRequest.ts +1 -1
- package/spellbook-client/models/Variant.ts +1 -1
- package/spellbook-client/models/VariantAlias.ts +1 -1
- package/spellbook-client/models/VariantInVariantUpdateSuggestion.ts +1 -1
- package/spellbook-client/models/VariantInVariantUpdateSuggestionRequest.ts +1 -1
- package/spellbook-client/models/VariantLegalities.ts +1 -1
- package/spellbook-client/models/VariantPrices.ts +1 -1
- package/spellbook-client/models/VariantStatusEnum.ts +1 -1
- package/spellbook-client/models/VariantSuggestion.ts +1 -1
- package/spellbook-client/models/VariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/VariantUpdateSuggestion.ts +1 -1
- package/spellbook-client/models/VariantUpdateSuggestionRequest.ts +1 -1
- package/spellbook-client/models/VariantsQueryValidationError.ts +1 -1
- package/spellbook-client/models/WebsiteProperty.ts +1 -1
- package/spellbook-client/models/ZoneLocationsEnum.ts +1 -1
- package/spellbook-client/models/index.ts +2 -1
- package/spellbook-client/runtime.ts +1 -1
- package/dist/models/PaginatedTemplateList.js.map +0 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# TemplateDetail
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`name` | string
|
|
11
|
+
`scryfallQuery` | string
|
|
12
|
+
`scryfallApi` | string
|
|
13
|
+
`variantCount` | number
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { TemplateDetail } from ''
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"id": null,
|
|
23
|
+
"name": null,
|
|
24
|
+
"scryfallQuery": null,
|
|
25
|
+
"scryfallApi": null,
|
|
26
|
+
"variantCount": null,
|
|
27
|
+
} satisfies TemplateDetail
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as TemplateDetail
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
|
@@ -11,7 +11,7 @@ All URIs are relative to *http://localhost*
|
|
|
11
11
|
|
|
12
12
|
## templatesList
|
|
13
13
|
|
|
14
|
-
>
|
|
14
|
+
> PaginatedTemplateDetailList templatesList(count, limit, matches, offset, ordering, q)
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -46,6 +46,8 @@ async function example() {
|
|
|
46
46
|
matches: ...,
|
|
47
47
|
// number | The initial index from which to return the results. (optional)
|
|
48
48
|
offset: 56,
|
|
49
|
+
// string | Which field to use when ordering the results. (optional)
|
|
50
|
+
ordering: ordering_example,
|
|
49
51
|
// string | A search query. (optional)
|
|
50
52
|
q: q_example,
|
|
51
53
|
} satisfies TemplatesListRequest;
|
|
@@ -71,11 +73,12 @@ example().catch(console.error);
|
|
|
71
73
|
| **limit** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
72
74
|
| **matches** | `Array<string>` | Filters for the templates standing for the given cards. The number of a curated card, or the Scryfall Oracle ID of any card. | [Optional] |
|
|
73
75
|
| **offset** | `number` | The initial index from which to return the results. | [Optional] [Defaults to `undefined`] |
|
|
76
|
+
| **ordering** | `string` | Which field to use when ordering the results. | [Optional] [Defaults to `undefined`] |
|
|
74
77
|
| **q** | `string` | A search query. | [Optional] [Defaults to `undefined`] |
|
|
75
78
|
|
|
76
79
|
### Return type
|
|
77
80
|
|
|
78
|
-
[**
|
|
81
|
+
[**PaginatedTemplateDetailList**](PaginatedTemplateDetailList.md)
|
|
79
82
|
|
|
80
83
|
### Authorization
|
|
81
84
|
|
|
@@ -97,7 +100,7 @@ example().catch(console.error);
|
|
|
97
100
|
|
|
98
101
|
## templatesRetrieve
|
|
99
102
|
|
|
100
|
-
>
|
|
103
|
+
> TemplateDetail templatesRetrieve(id)
|
|
101
104
|
|
|
102
105
|
|
|
103
106
|
|
|
@@ -149,7 +152,7 @@ example().catch(console.error);
|
|
|
149
152
|
|
|
150
153
|
### Return type
|
|
151
154
|
|
|
152
|
-
[**
|
|
155
|
+
[**TemplateDetail**](TemplateDetail.md)
|
|
153
156
|
|
|
154
157
|
### Authorization
|
|
155
158
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -75,29 +75,73 @@ export interface CardDetail {
|
|
|
75
75
|
*/
|
|
76
76
|
oracleId: string | null;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* Is this from an upcoming set?
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
spoiler: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Number of faces (subcards) this card is split into, such as double-faced cards, adventures, split cards and so on. 1 for normal cards.
|
|
83
|
+
*/
|
|
84
|
+
faces: number;
|
|
81
85
|
/**
|
|
82
86
|
*
|
|
83
87
|
*/
|
|
84
|
-
|
|
88
|
+
typeLine: string;
|
|
89
|
+
/**
|
|
90
|
+
* The image format, and with it the file extension, may vary
|
|
91
|
+
*/
|
|
92
|
+
imageUriFrontPng: string | null;
|
|
93
|
+
/**
|
|
94
|
+
* The image format, and with it the file extension, may vary
|
|
95
|
+
*/
|
|
96
|
+
imageUriFrontLarge: string | null;
|
|
97
|
+
/**
|
|
98
|
+
* The image format, and with it the file extension, may vary
|
|
99
|
+
*/
|
|
100
|
+
imageUriFrontNormal: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* The image format, and with it the file extension, may vary
|
|
103
|
+
*/
|
|
104
|
+
imageUriFrontSmall: string | null;
|
|
105
|
+
/**
|
|
106
|
+
* The image format, and with it the file extension, may vary
|
|
107
|
+
*/
|
|
108
|
+
imageUriFrontArtCrop: string | null;
|
|
85
109
|
/**
|
|
86
110
|
*
|
|
87
111
|
*/
|
|
88
|
-
|
|
112
|
+
layoutRotationFront: LayoutRotationEnum | null;
|
|
89
113
|
/**
|
|
90
|
-
*
|
|
114
|
+
* The image format, and with it the file extension, may vary
|
|
91
115
|
*/
|
|
92
|
-
|
|
116
|
+
imageUriBackPng: string | null;
|
|
93
117
|
/**
|
|
94
|
-
*
|
|
118
|
+
* The image format, and with it the file extension, may vary
|
|
95
119
|
*/
|
|
96
|
-
|
|
120
|
+
imageUriBackLarge: string | null;
|
|
121
|
+
/**
|
|
122
|
+
* The image format, and with it the file extension, may vary
|
|
123
|
+
*/
|
|
124
|
+
imageUriBackNormal: string | null;
|
|
125
|
+
/**
|
|
126
|
+
* The image format, and with it the file extension, may vary
|
|
127
|
+
*/
|
|
128
|
+
imageUriBackSmall: string | null;
|
|
129
|
+
/**
|
|
130
|
+
* The image format, and with it the file extension, may vary
|
|
131
|
+
*/
|
|
132
|
+
imageUriBackArtCrop: string | null;
|
|
97
133
|
/**
|
|
98
134
|
*
|
|
99
135
|
*/
|
|
100
|
-
|
|
136
|
+
readonly variantCount: number;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
140
|
+
identity: ColorEnum;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
color: ColorEnum;
|
|
101
145
|
/**
|
|
102
146
|
*
|
|
103
147
|
*/
|
|
@@ -174,50 +218,6 @@ export interface CardDetail {
|
|
|
174
218
|
* Whether this card grants an extra turn
|
|
175
219
|
*/
|
|
176
220
|
extraTurn: boolean;
|
|
177
|
-
/**
|
|
178
|
-
* The image format, and with it the file extension, may vary
|
|
179
|
-
*/
|
|
180
|
-
imageUriFrontPng: string | null;
|
|
181
|
-
/**
|
|
182
|
-
* The image format, and with it the file extension, may vary
|
|
183
|
-
*/
|
|
184
|
-
imageUriFrontLarge: string | null;
|
|
185
|
-
/**
|
|
186
|
-
* The image format, and with it the file extension, may vary
|
|
187
|
-
*/
|
|
188
|
-
imageUriFrontNormal: string | null;
|
|
189
|
-
/**
|
|
190
|
-
* The image format, and with it the file extension, may vary
|
|
191
|
-
*/
|
|
192
|
-
imageUriFrontSmall: string | null;
|
|
193
|
-
/**
|
|
194
|
-
* The image format, and with it the file extension, may vary
|
|
195
|
-
*/
|
|
196
|
-
imageUriFrontArtCrop: string | null;
|
|
197
|
-
/**
|
|
198
|
-
*
|
|
199
|
-
*/
|
|
200
|
-
layoutRotationFront: LayoutRotationEnum | null;
|
|
201
|
-
/**
|
|
202
|
-
* The image format, and with it the file extension, may vary
|
|
203
|
-
*/
|
|
204
|
-
imageUriBackPng: string | null;
|
|
205
|
-
/**
|
|
206
|
-
* The image format, and with it the file extension, may vary
|
|
207
|
-
*/
|
|
208
|
-
imageUriBackLarge: string | null;
|
|
209
|
-
/**
|
|
210
|
-
* The image format, and with it the file extension, may vary
|
|
211
|
-
*/
|
|
212
|
-
imageUriBackNormal: string | null;
|
|
213
|
-
/**
|
|
214
|
-
* The image format, and with it the file extension, may vary
|
|
215
|
-
*/
|
|
216
|
-
imageUriBackSmall: string | null;
|
|
217
|
-
/**
|
|
218
|
-
* The image format, and with it the file extension, may vary
|
|
219
|
-
*/
|
|
220
|
-
imageUriBackArtCrop: string | null;
|
|
221
221
|
/**
|
|
222
222
|
*
|
|
223
223
|
*/
|
|
@@ -241,12 +241,23 @@ export function instanceOfCardDetail(value: object): value is CardDetail {
|
|
|
241
241
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
242
242
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
243
243
|
if (!('oracleId' in value) || value['oracleId'] === undefined) return false;
|
|
244
|
-
if (!('identity' in value) || value['identity'] === undefined) return false;
|
|
245
|
-
if (!('variantCount' in value) || value['variantCount'] === undefined) return false;
|
|
246
|
-
if (!('color' in value) || value['color'] === undefined) return false;
|
|
247
244
|
if (!('spoiler' in value) || value['spoiler'] === undefined) return false;
|
|
248
245
|
if (!('faces' in value) || value['faces'] === undefined) return false;
|
|
249
246
|
if (!('typeLine' in value) || value['typeLine'] === undefined) return false;
|
|
247
|
+
if (!('imageUriFrontPng' in value) || value['imageUriFrontPng'] === undefined) return false;
|
|
248
|
+
if (!('imageUriFrontLarge' in value) || value['imageUriFrontLarge'] === undefined) return false;
|
|
249
|
+
if (!('imageUriFrontNormal' in value) || value['imageUriFrontNormal'] === undefined) return false;
|
|
250
|
+
if (!('imageUriFrontSmall' in value) || value['imageUriFrontSmall'] === undefined) return false;
|
|
251
|
+
if (!('imageUriFrontArtCrop' in value) || value['imageUriFrontArtCrop'] === undefined) return false;
|
|
252
|
+
if (!('layoutRotationFront' in value) || value['layoutRotationFront'] === undefined) return false;
|
|
253
|
+
if (!('imageUriBackPng' in value) || value['imageUriBackPng'] === undefined) return false;
|
|
254
|
+
if (!('imageUriBackLarge' in value) || value['imageUriBackLarge'] === undefined) return false;
|
|
255
|
+
if (!('imageUriBackNormal' in value) || value['imageUriBackNormal'] === undefined) return false;
|
|
256
|
+
if (!('imageUriBackSmall' in value) || value['imageUriBackSmall'] === undefined) return false;
|
|
257
|
+
if (!('imageUriBackArtCrop' in value) || value['imageUriBackArtCrop'] === undefined) return false;
|
|
258
|
+
if (!('variantCount' in value) || value['variantCount'] === undefined) return false;
|
|
259
|
+
if (!('identity' in value) || value['identity'] === undefined) return false;
|
|
260
|
+
if (!('color' in value) || value['color'] === undefined) return false;
|
|
250
261
|
if (!('oracleText' in value) || value['oracleText'] === undefined) return false;
|
|
251
262
|
if (!('keywords' in value) || value['keywords'] === undefined) return false;
|
|
252
263
|
if (!('manaValue' in value) || value['manaValue'] === undefined) return false;
|
|
@@ -266,17 +277,6 @@ export function instanceOfCardDetail(value: object): value is CardDetail {
|
|
|
266
277
|
if (!('tutor' in value) || value['tutor'] === undefined) return false;
|
|
267
278
|
if (!('massLandDenial' in value) || value['massLandDenial'] === undefined) return false;
|
|
268
279
|
if (!('extraTurn' in value) || value['extraTurn'] === undefined) return false;
|
|
269
|
-
if (!('imageUriFrontPng' in value) || value['imageUriFrontPng'] === undefined) return false;
|
|
270
|
-
if (!('imageUriFrontLarge' in value) || value['imageUriFrontLarge'] === undefined) return false;
|
|
271
|
-
if (!('imageUriFrontNormal' in value) || value['imageUriFrontNormal'] === undefined) return false;
|
|
272
|
-
if (!('imageUriFrontSmall' in value) || value['imageUriFrontSmall'] === undefined) return false;
|
|
273
|
-
if (!('imageUriFrontArtCrop' in value) || value['imageUriFrontArtCrop'] === undefined) return false;
|
|
274
|
-
if (!('layoutRotationFront' in value) || value['layoutRotationFront'] === undefined) return false;
|
|
275
|
-
if (!('imageUriBackPng' in value) || value['imageUriBackPng'] === undefined) return false;
|
|
276
|
-
if (!('imageUriBackLarge' in value) || value['imageUriBackLarge'] === undefined) return false;
|
|
277
|
-
if (!('imageUriBackNormal' in value) || value['imageUriBackNormal'] === undefined) return false;
|
|
278
|
-
if (!('imageUriBackSmall' in value) || value['imageUriBackSmall'] === undefined) return false;
|
|
279
|
-
if (!('imageUriBackArtCrop' in value) || value['imageUriBackArtCrop'] === undefined) return false;
|
|
280
280
|
if (!('features' in value) || value['features'] === undefined) return false;
|
|
281
281
|
if (!('legalities' in value) || value['legalities'] === undefined) return false;
|
|
282
282
|
if (!('prices' in value) || value['prices'] === undefined) return false;
|
|
@@ -296,12 +296,23 @@ export function CardDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
296
296
|
'id': json['id'],
|
|
297
297
|
'name': json['name'],
|
|
298
298
|
'oracleId': json['oracleId'],
|
|
299
|
-
'identity': ColorEnumFromJSON(json['identity']),
|
|
300
|
-
'variantCount': json['variantCount'],
|
|
301
|
-
'color': ColorEnumFromJSON(json['color']),
|
|
302
299
|
'spoiler': json['spoiler'],
|
|
303
300
|
'faces': json['faces'],
|
|
304
301
|
'typeLine': json['typeLine'],
|
|
302
|
+
'imageUriFrontPng': json['imageUriFrontPng'],
|
|
303
|
+
'imageUriFrontLarge': json['imageUriFrontLarge'],
|
|
304
|
+
'imageUriFrontNormal': json['imageUriFrontNormal'],
|
|
305
|
+
'imageUriFrontSmall': json['imageUriFrontSmall'],
|
|
306
|
+
'imageUriFrontArtCrop': json['imageUriFrontArtCrop'],
|
|
307
|
+
'layoutRotationFront': LayoutRotationEnumFromJSON(json['layoutRotationFront']),
|
|
308
|
+
'imageUriBackPng': json['imageUriBackPng'],
|
|
309
|
+
'imageUriBackLarge': json['imageUriBackLarge'],
|
|
310
|
+
'imageUriBackNormal': json['imageUriBackNormal'],
|
|
311
|
+
'imageUriBackSmall': json['imageUriBackSmall'],
|
|
312
|
+
'imageUriBackArtCrop': json['imageUriBackArtCrop'],
|
|
313
|
+
'variantCount': json['variantCount'],
|
|
314
|
+
'identity': ColorEnumFromJSON(json['identity']),
|
|
315
|
+
'color': ColorEnumFromJSON(json['color']),
|
|
305
316
|
'oracleText': json['oracleText'],
|
|
306
317
|
'keywords': json['keywords'],
|
|
307
318
|
'manaValue': json['manaValue'],
|
|
@@ -321,17 +332,6 @@ export function CardDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
321
332
|
'tutor': json['tutor'],
|
|
322
333
|
'massLandDenial': json['massLandDenial'],
|
|
323
334
|
'extraTurn': json['extraTurn'],
|
|
324
|
-
'imageUriFrontPng': json['imageUriFrontPng'],
|
|
325
|
-
'imageUriFrontLarge': json['imageUriFrontLarge'],
|
|
326
|
-
'imageUriFrontNormal': json['imageUriFrontNormal'],
|
|
327
|
-
'imageUriFrontSmall': json['imageUriFrontSmall'],
|
|
328
|
-
'imageUriFrontArtCrop': json['imageUriFrontArtCrop'],
|
|
329
|
-
'layoutRotationFront': LayoutRotationEnumFromJSON(json['layoutRotationFront']),
|
|
330
|
-
'imageUriBackPng': json['imageUriBackPng'],
|
|
331
|
-
'imageUriBackLarge': json['imageUriBackLarge'],
|
|
332
|
-
'imageUriBackNormal': json['imageUriBackNormal'],
|
|
333
|
-
'imageUriBackSmall': json['imageUriBackSmall'],
|
|
334
|
-
'imageUriBackArtCrop': json['imageUriBackArtCrop'],
|
|
335
335
|
'features': ((json['features'] as Array<any>).map(FeatureOfCardFromJSON)),
|
|
336
336
|
'legalities': CardLegalitiesFromJSON(json['legalities']),
|
|
337
337
|
'prices': CardPricesFromJSON(json['prices']),
|
|
@@ -351,11 +351,22 @@ export function CardDetailToJSONTyped(value?: Omit<CardDetail, 'id'|'variantCoun
|
|
|
351
351
|
|
|
352
352
|
'name': value['name'],
|
|
353
353
|
'oracleId': value['oracleId'],
|
|
354
|
-
'identity': ColorEnumToJSON(value['identity']),
|
|
355
|
-
'color': ColorEnumToJSON(value['color']),
|
|
356
354
|
'spoiler': value['spoiler'],
|
|
357
355
|
'faces': value['faces'],
|
|
358
356
|
'typeLine': value['typeLine'],
|
|
357
|
+
'imageUriFrontPng': value['imageUriFrontPng'],
|
|
358
|
+
'imageUriFrontLarge': value['imageUriFrontLarge'],
|
|
359
|
+
'imageUriFrontNormal': value['imageUriFrontNormal'],
|
|
360
|
+
'imageUriFrontSmall': value['imageUriFrontSmall'],
|
|
361
|
+
'imageUriFrontArtCrop': value['imageUriFrontArtCrop'],
|
|
362
|
+
'layoutRotationFront': LayoutRotationEnumToJSON(value['layoutRotationFront']),
|
|
363
|
+
'imageUriBackPng': value['imageUriBackPng'],
|
|
364
|
+
'imageUriBackLarge': value['imageUriBackLarge'],
|
|
365
|
+
'imageUriBackNormal': value['imageUriBackNormal'],
|
|
366
|
+
'imageUriBackSmall': value['imageUriBackSmall'],
|
|
367
|
+
'imageUriBackArtCrop': value['imageUriBackArtCrop'],
|
|
368
|
+
'identity': ColorEnumToJSON(value['identity']),
|
|
369
|
+
'color': ColorEnumToJSON(value['color']),
|
|
359
370
|
'oracleText': value['oracleText'],
|
|
360
371
|
'keywords': value['keywords'],
|
|
361
372
|
'manaValue': value['manaValue'],
|
|
@@ -375,17 +386,6 @@ export function CardDetailToJSONTyped(value?: Omit<CardDetail, 'id'|'variantCoun
|
|
|
375
386
|
'tutor': value['tutor'],
|
|
376
387
|
'massLandDenial': value['massLandDenial'],
|
|
377
388
|
'extraTurn': value['extraTurn'],
|
|
378
|
-
'imageUriFrontPng': value['imageUriFrontPng'],
|
|
379
|
-
'imageUriFrontLarge': value['imageUriFrontLarge'],
|
|
380
|
-
'imageUriFrontNormal': value['imageUriFrontNormal'],
|
|
381
|
-
'imageUriFrontSmall': value['imageUriFrontSmall'],
|
|
382
|
-
'imageUriFrontArtCrop': value['imageUriFrontArtCrop'],
|
|
383
|
-
'layoutRotationFront': LayoutRotationEnumToJSON(value['layoutRotationFront']),
|
|
384
|
-
'imageUriBackPng': value['imageUriBackPng'],
|
|
385
|
-
'imageUriBackLarge': value['imageUriBackLarge'],
|
|
386
|
-
'imageUriBackNormal': value['imageUriBackNormal'],
|
|
387
|
-
'imageUriBackSmall': value['imageUriBackSmall'],
|
|
388
|
-
'imageUriBackArtCrop': value['imageUriBackArtCrop'],
|
|
389
389
|
};
|
|
390
390
|
}
|
|
391
391
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.
|
|
7
|
+
* The version of the OpenAPI document: 7.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|