pokeapi_client 2.1.0 → 2.2.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +25 -25
- data/README.md +94 -96
- data/docs/AbilityChange.md +2 -2
- data/docs/AbilityChangeEffectText.md +2 -2
- data/docs/AbilityDetail.md +9 -9
- data/docs/AbilityEffectText.md +3 -3
- data/docs/AbilityFlavorText.md +3 -3
- data/docs/AbilityName.md +2 -2
- data/docs/AbilityPokemonDetail.md +22 -0
- data/docs/AbilitySummary.md +2 -2
- data/docs/BerriesApi.md +9 -75
- data/docs/BerryDetail.md +12 -12
- data/docs/BerryFirmnessDetail.md +4 -4
- data/docs/BerryFirmnessName.md +2 -2
- data/docs/BerryFirmnessSummary.md +2 -2
- data/docs/BerryFlavorBerryMap.md +20 -0
- data/docs/BerryFlavorDetail.md +5 -5
- data/docs/BerryFlavorMap.md +20 -0
- data/docs/BerryFlavorName.md +2 -2
- data/docs/BerryFlavorSummary.md +2 -2
- data/docs/BerrySummary.md +2 -2
- data/docs/CharacteristicDescription.md +2 -2
- data/docs/CharacteristicDetail.md +5 -5
- data/docs/CharacteristicSummary.md +1 -1
- data/docs/ContestEffectDetail.md +5 -5
- data/docs/ContestEffectEffectText.md +2 -2
- data/docs/ContestEffectFlavorText.md +2 -2
- data/docs/ContestEffectSummary.md +1 -1
- data/docs/ContestTypeDetail.md +4 -4
- data/docs/ContestTypeName.md +3 -3
- data/docs/ContestTypeSummary.md +2 -2
- data/docs/ContestsApi.md +11 -81
- data/docs/CurrencyDetail.md +22 -0
- data/docs/CurrencyName.md +20 -0
- data/docs/CurrencySummary.md +20 -0
- data/docs/EggGroupDetail.md +4 -4
- data/docs/EggGroupName.md +2 -2
- data/docs/EggGroupSummary.md +2 -2
- data/docs/EncounterConditionDetail.md +4 -4
- data/docs/EncounterConditionName.md +2 -2
- data/docs/EncounterConditionSummary.md +2 -2
- data/docs/EncounterConditionValueDetail.md +4 -4
- data/docs/EncounterConditionValueName.md +2 -2
- data/docs/EncounterConditionValueSummary.md +2 -2
- data/docs/EncounterMethodDetail.md +4 -4
- data/docs/EncounterMethodName.md +2 -2
- data/docs/EncounterMethodSummary.md +2 -2
- data/docs/EncounterPokemonDetail.md +24 -0
- data/docs/EncountersApi.md +9 -75
- data/docs/EvolutionApi.md +143 -53
- data/docs/EvolutionChainDetail.md +3 -3
- data/docs/EvolutionChainLink.md +24 -0
- data/docs/EvolutionChainSummary.md +1 -1
- data/docs/EvolutionConditionExpression.md +22 -0
- data/docs/EvolutionTriggerDetail.md +4 -4
- data/docs/EvolutionTriggerName.md +2 -2
- data/docs/EvolutionTriggerSummary.md +2 -2
- data/docs/EvolutionVariableDescription.md +20 -0
- data/docs/EvolutionVariableDetail.md +32 -0
- data/docs/EvolutionVariableName.md +20 -0
- data/docs/EvolutionVariableSummary.md +20 -0
- data/docs/Experience.md +2 -2
- data/docs/GamesApi.md +12 -100
- data/docs/GenderDetail.md +4 -4
- data/docs/GenderPokemonSpecies.md +20 -0
- data/docs/GenderSummary.md +2 -2
- data/docs/GenerationDetail.md +9 -9
- data/docs/GenerationName.md +2 -2
- data/docs/GenerationSummary.md +2 -2
- data/docs/GrowthRateDescription.md +2 -2
- data/docs/GrowthRateDetail.md +6 -6
- data/docs/GrowthRateSummary.md +2 -2
- data/docs/ItemAttributeDescription.md +2 -2
- data/docs/ItemAttributeDetail.md +5 -5
- data/docs/ItemAttributeName.md +2 -2
- data/docs/ItemAttributeSummary.md +2 -2
- data/docs/ItemCategoryDetail.md +5 -5
- data/docs/ItemCategoryName.md +2 -2
- data/docs/ItemCategorySummary.md +2 -2
- data/docs/ItemDetail.md +16 -16
- data/docs/ItemEffectText.md +3 -3
- data/docs/ItemFlavorText.md +3 -3
- data/docs/ItemFlingEffectDetail.md +4 -4
- data/docs/ItemFlingEffectEffectText.md +2 -2
- data/docs/ItemFlingEffectSummary.md +2 -2
- data/docs/ItemGameIndex.md +2 -2
- data/docs/ItemMachine.md +20 -0
- data/docs/ItemName.md +2 -2
- data/docs/ItemPocketDetail.md +4 -4
- data/docs/ItemPocketName.md +2 -2
- data/docs/ItemPocketSummary.md +2 -2
- data/docs/ItemPrice.md +24 -0
- data/docs/{ItemDetailSprites.md → ItemSprites.md} +3 -3
- data/docs/ItemSummary.md +2 -2
- data/docs/ItemsApi.md +151 -125
- data/docs/LanguageDetail.md +6 -6
- data/docs/LanguageName.md +2 -2
- data/docs/LanguageSummary.md +2 -2
- data/docs/LocationApi.md +12 -100
- data/docs/LocationAreaDetail.md +7 -7
- data/docs/LocationAreaEncounterDetail.md +28 -0
- data/docs/LocationAreaEncounterRate.md +20 -0
- data/docs/LocationAreaEncounterVersionDetail.md +20 -0
- data/docs/LocationAreaName.md +2 -2
- data/docs/LocationAreaPokemonEncounter.md +20 -0
- data/docs/LocationAreaPokemonEncounterVersion.md +22 -0
- data/docs/LocationAreaSummary.md +2 -2
- data/docs/LocationDetail.md +6 -6
- data/docs/LocationGameIndex.md +2 -2
- data/docs/LocationName.md +2 -2
- data/docs/LocationSummary.md +2 -2
- data/docs/MachineDetail.md +4 -4
- data/docs/MachineSummary.md +1 -1
- data/docs/MachinesApi.md +4 -28
- data/docs/MoveBattleStyleDetail.md +3 -3
- data/docs/MoveBattleStyleName.md +2 -2
- data/docs/MoveBattleStyleSummary.md +2 -2
- data/docs/MoveChange.md +7 -7
- data/docs/MoveComboUsage.md +20 -0
- data/docs/MoveCombos.md +20 -0
- data/docs/MoveDamageClassDescription.md +2 -2
- data/docs/MoveDamageClassDetail.md +5 -5
- data/docs/MoveDamageClassName.md +2 -2
- data/docs/MoveDamageClassSummary.md +2 -2
- data/docs/MoveDetail.md +24 -24
- data/docs/MoveEffectChange.md +20 -0
- data/docs/MoveEffectChangeEffectText.md +20 -0
- data/docs/MoveEffectEffectText.md +22 -0
- data/docs/MoveFlavorText.md +3 -3
- data/docs/MoveLearnMethodDescription.md +2 -2
- data/docs/MoveLearnMethodDetail.md +5 -5
- data/docs/MoveLearnMethodName.md +2 -2
- data/docs/MoveLearnMethodSummary.md +2 -2
- data/docs/MoveMeta.md +12 -12
- data/docs/MoveMetaAilmentDetail.md +4 -4
- data/docs/MoveMetaAilmentName.md +2 -2
- data/docs/MoveMetaAilmentSummary.md +2 -2
- data/docs/MoveMetaCategoryDescription.md +2 -2
- data/docs/MoveMetaCategoryDetail.md +4 -4
- data/docs/MoveMetaCategorySummary.md +2 -2
- data/docs/MoveMetaStatChange.md +20 -0
- data/docs/MoveName.md +2 -2
- data/docs/MoveStatChange.md +20 -0
- data/docs/MoveSummary.md +2 -2
- data/docs/MoveTargetDescription.md +2 -2
- data/docs/MoveTargetDetail.md +5 -5
- data/docs/MoveTargetName.md +2 -2
- data/docs/MoveTargetSummary.md +2 -2
- data/docs/MovesApi.md +18 -150
- data/docs/NatureBattleStylePreference.md +3 -3
- data/docs/NatureDetail.md +9 -11
- data/docs/NatureName.md +2 -2
- data/docs/NaturePokeathlonStat.md +20 -0
- data/docs/NatureSummary.md +2 -2
- data/docs/PaginatedAbilitySummaryList.md +7 -7
- data/docs/PaginatedBerryFirmnessSummaryList.md +7 -7
- data/docs/PaginatedBerryFlavorSummaryList.md +7 -7
- data/docs/PaginatedBerrySummaryList.md +7 -7
- data/docs/PaginatedCharacteristicSummaryList.md +7 -7
- data/docs/PaginatedContestEffectSummaryList.md +7 -7
- data/docs/PaginatedContestTypeSummaryList.md +7 -7
- data/docs/PaginatedCurrencySummaryList.md +24 -0
- data/docs/PaginatedEggGroupSummaryList.md +7 -7
- data/docs/PaginatedEncounterConditionSummaryList.md +7 -7
- data/docs/PaginatedEncounterConditionValueSummaryList.md +7 -7
- data/docs/PaginatedEncounterMethodSummaryList.md +7 -7
- data/docs/PaginatedEvolutionChainSummaryList.md +7 -7
- data/docs/PaginatedEvolutionTriggerSummaryList.md +7 -7
- data/docs/PaginatedEvolutionVariableSummaryList.md +24 -0
- data/docs/PaginatedGenderSummaryList.md +7 -7
- data/docs/PaginatedGenerationSummaryList.md +7 -7
- data/docs/PaginatedGrowthRateSummaryList.md +7 -7
- data/docs/PaginatedItemAttributeSummaryList.md +7 -7
- data/docs/PaginatedItemCategorySummaryList.md +7 -7
- data/docs/PaginatedItemFlingEffectSummaryList.md +7 -7
- data/docs/PaginatedItemPocketSummaryList.md +7 -7
- data/docs/PaginatedItemSummaryList.md +7 -7
- data/docs/PaginatedLanguageSummaryList.md +7 -7
- data/docs/PaginatedLocationAreaSummaryList.md +7 -7
- data/docs/PaginatedLocationSummaryList.md +7 -7
- data/docs/PaginatedMachineSummaryList.md +7 -7
- data/docs/PaginatedMoveBattleStyleSummaryList.md +7 -7
- data/docs/PaginatedMoveDamageClassSummaryList.md +7 -7
- data/docs/PaginatedMoveLearnMethodSummaryList.md +7 -7
- data/docs/PaginatedMoveMetaAilmentSummaryList.md +7 -7
- data/docs/PaginatedMoveMetaCategorySummaryList.md +7 -7
- data/docs/PaginatedMoveSummaryList.md +7 -7
- data/docs/PaginatedMoveTargetSummaryList.md +7 -7
- data/docs/PaginatedNatureSummaryList.md +7 -7
- data/docs/PaginatedPalParkAreaSummaryList.md +7 -7
- data/docs/PaginatedPokeathlonStatSummaryList.md +7 -7
- data/docs/PaginatedPokedexSummaryList.md +7 -7
- data/docs/PaginatedPokemonColorSummaryList.md +7 -7
- data/docs/PaginatedPokemonFormSummaryList.md +7 -7
- data/docs/PaginatedPokemonHabitatSummaryList.md +7 -7
- data/docs/PaginatedPokemonShapeSummaryList.md +7 -7
- data/docs/PaginatedPokemonSpeciesSummaryList.md +7 -7
- data/docs/PaginatedPokemonSummaryList.md +7 -7
- data/docs/PaginatedRegionSummaryList.md +7 -7
- data/docs/PaginatedStatSummaryList.md +7 -7
- data/docs/PaginatedSuperContestEffectSummaryList.md +7 -7
- data/docs/PaginatedTypeSummaryList.md +7 -7
- data/docs/PaginatedVersionGroupSummaryList.md +7 -7
- data/docs/PaginatedVersionSummaryList.md +7 -7
- data/docs/PalParkAreaDetail.md +4 -4
- data/docs/PalParkAreaName.md +2 -2
- data/docs/PalParkAreaSummary.md +2 -2
- data/docs/PalParkEncounter.md +22 -0
- data/docs/PokeapiMetaResponse.md +22 -0
- data/docs/PokeathlonStatAffectingNature.md +20 -0
- data/docs/PokeathlonStatAffectingNatures.md +20 -0
- data/docs/PokeathlonStatDetail.md +4 -4
- data/docs/PokeathlonStatName.md +2 -2
- data/docs/PokeathlonStatSummary.md +2 -2
- data/docs/PokedexDescription.md +2 -2
- data/docs/PokedexDetail.md +8 -8
- data/docs/PokedexName.md +2 -2
- data/docs/PokedexSummary.md +2 -2
- data/docs/PokemonAbility.md +22 -0
- data/docs/PokemonAbilityPast.md +22 -0
- data/docs/PokemonApi.md +61 -415
- data/docs/PokemonColorDetail.md +4 -4
- data/docs/PokemonColorName.md +2 -2
- data/docs/PokemonColorSummary.md +2 -2
- data/docs/PokemonCries.md +20 -0
- data/docs/PokemonDetail.md +22 -20
- data/docs/PokemonDexEntry.md +2 -2
- data/docs/PokemonDexNumber.md +20 -0
- data/docs/PokemonEncounterDetailResponse.md +26 -0
- data/docs/PokemonEncounterResponse.md +20 -0
- data/docs/PokemonEncounterVersionDetailResponse.md +22 -0
- data/docs/PokemonEvolution.md +78 -0
- data/docs/{AbilityDetailPokemonInnerPokemon.md → PokemonEvolutionKnownMove.md} +2 -2
- data/docs/PokemonFormDetail.md +19 -15
- data/docs/PokemonFormFlavorText.md +22 -0
- data/docs/PokemonFormName.md +20 -0
- data/docs/PokemonFormSprites.md +36 -0
- data/docs/PokemonFormSummary.md +2 -2
- data/docs/PokemonFormTriggerCondition.md +24 -0
- data/docs/PokemonFormType.md +20 -0
- data/docs/PokemonGameIndex.md +2 -2
- data/docs/PokemonHabitatDetail.md +4 -4
- data/docs/PokemonHabitatName.md +2 -2
- data/docs/PokemonHabitatSummary.md +2 -2
- data/docs/PokemonHeldItem.md +20 -0
- data/docs/PokemonHeldItemSummary.md +20 -0
- data/docs/PokemonHeldItemVersion.md +20 -0
- data/docs/PokemonMove.md +20 -0
- data/docs/PokemonMoveVersionGroup.md +24 -0
- data/docs/PokemonPastAbility.md +20 -0
- data/docs/PokemonPastStat.md +20 -0
- data/docs/PokemonPastType.md +20 -0
- data/docs/PokemonShapeAwesomeName.md +20 -0
- data/docs/PokemonShapeDetail.md +5 -5
- data/docs/PokemonShapeName.md +20 -0
- data/docs/PokemonShapeSummary.md +2 -2
- data/docs/PokemonSpeciesDescription.md +2 -2
- data/docs/PokemonSpeciesDetail.md +27 -27
- data/docs/PokemonSpeciesFlavorText.md +3 -3
- data/docs/PokemonSpeciesGenus.md +20 -0
- data/docs/PokemonSpeciesName.md +20 -0
- data/docs/PokemonSpeciesPalParkEncounter.md +22 -0
- data/docs/PokemonSpeciesSummary.md +2 -2
- data/docs/PokemonSpeciesVariety.md +20 -0
- data/docs/PokemonSprites.md +36 -0
- data/docs/PokemonSpritesOther.md +24 -0
- data/docs/PokemonSpritesOtherDreamWorld.md +20 -0
- data/docs/PokemonSpritesOtherHome.md +24 -0
- data/docs/PokemonSpritesOtherOfficialArtwork.md +22 -0
- data/docs/PokemonSpritesOtherShowdown.md +32 -0
- data/docs/PokemonStat.md +3 -3
- data/docs/PokemonSummary.md +2 -2
- data/docs/PokemonType.md +20 -0
- data/docs/RegionDetail.md +7 -7
- data/docs/RegionName.md +2 -2
- data/docs/RegionSummary.md +2 -2
- data/docs/StatAffectingMoves.md +20 -0
- data/docs/StatAffectingNatures.md +20 -0
- data/docs/StatDetail.md +11 -9
- data/docs/StatName.md +2 -2
- data/docs/StatSummary.md +2 -2
- data/docs/SuperContestEffectDetail.md +4 -4
- data/docs/SuperContestEffectFlavorText.md +2 -2
- data/docs/SuperContestEffectSummary.md +1 -1
- data/docs/TypeDetail.md +11 -11
- data/docs/TypeGameIndex.md +2 -2
- data/docs/TypeGameSprite.md +20 -0
- data/docs/TypeName.md +20 -0
- data/docs/TypePastRelationships.md +20 -0
- data/docs/TypePokemon.md +20 -0
- data/docs/TypeRelationships.md +28 -0
- data/docs/TypeSummary.md +2 -2
- data/docs/UtilityApi.md +65 -25
- data/docs/VersionDetail.md +4 -4
- data/docs/VersionGroupDetail.md +8 -8
- data/docs/VersionGroupSummary.md +2 -2
- data/docs/VersionName.md +2 -2
- data/docs/VersionSummary.md +2 -2
- data/git_push.sh +14 -17
- data/lib/pokeapi_client/api/berries_api.rb +9 -9
- data/lib/pokeapi_client/api/contests_api.rb +9 -15
- data/lib/pokeapi_client/api/encounters_api.rb +9 -9
- data/lib/pokeapi_client/api/evolution_api.rb +136 -10
- data/lib/pokeapi_client/api/games_api.rb +11 -11
- data/lib/pokeapi_client/api/items_api.rb +142 -13
- data/lib/pokeapi_client/api/location_api.rb +11 -11
- data/lib/pokeapi_client/api/machines_api.rb +5 -8
- data/lib/pokeapi_client/api/moves_api.rb +15 -15
- data/lib/pokeapi_client/api/pokemon_api.rb +41 -40
- data/lib/pokeapi_client/api/utility_api.rb +62 -5
- data/lib/pokeapi_client/api_client.rb +3 -4
- data/lib/pokeapi_client/api_error.rb +3 -3
- data/lib/pokeapi_client/api_model_base.rb +3 -3
- data/lib/pokeapi_client/configuration.rb +3 -17
- data/lib/pokeapi_client/models/ability_change.rb +26 -11
- data/lib/pokeapi_client/models/ability_change_effect_text.rb +26 -11
- data/lib/pokeapi_client/models/ability_detail.rb +39 -17
- data/lib/pokeapi_client/models/ability_effect_text.rb +27 -11
- data/lib/pokeapi_client/models/ability_flavor_text.rb +27 -11
- data/lib/pokeapi_client/models/ability_name.rb +31 -16
- data/lib/pokeapi_client/models/ability_pokemon_detail.rb +233 -0
- data/lib/pokeapi_client/models/ability_summary.rb +31 -16
- data/lib/pokeapi_client/models/berry_detail.rb +131 -86
- data/lib/pokeapi_client/models/berry_firmness_detail.rb +33 -16
- data/lib/pokeapi_client/models/berry_firmness_name.rb +31 -16
- data/lib/pokeapi_client/models/berry_firmness_summary.rb +31 -16
- data/lib/pokeapi_client/models/{berry_flavor_detail_berries_inner.rb → berry_flavor_berry_map.rb} +48 -15
- data/lib/pokeapi_client/models/berry_flavor_detail.rb +35 -17
- data/lib/pokeapi_client/models/{berry_detail_flavors_inner.rb → berry_flavor_map.rb} +48 -15
- data/lib/pokeapi_client/models/berry_flavor_name.rb +31 -16
- data/lib/pokeapi_client/models/berry_flavor_summary.rb +31 -16
- data/lib/pokeapi_client/models/berry_summary.rb +31 -16
- data/lib/pokeapi_client/models/characteristic_description.rb +31 -16
- data/lib/pokeapi_client/models/characteristic_detail.rb +29 -11
- data/lib/pokeapi_client/models/characteristic_summary.rb +25 -11
- data/lib/pokeapi_client/models/contest_effect_detail.rb +65 -11
- data/lib/pokeapi_client/models/contest_effect_effect_text.rb +26 -11
- data/lib/pokeapi_client/models/contest_effect_flavor_text.rb +26 -11
- data/lib/pokeapi_client/models/contest_effect_summary.rb +25 -11
- data/lib/pokeapi_client/models/contest_type_detail.rb +33 -16
- data/lib/pokeapi_client/models/contest_type_name.rb +32 -16
- data/lib/pokeapi_client/models/contest_type_summary.rb +31 -16
- data/lib/pokeapi_client/models/currency_detail.rb +243 -0
- data/lib/pokeapi_client/models/{move_detail_effect_changes_inner_effect_entries_inner.rb → currency_name.rb} +55 -31
- data/lib/pokeapi_client/models/{ability_detail_pokemon_inner_pokemon.rb → currency_summary.rb} +38 -14
- data/lib/pokeapi_client/models/egg_group_detail.rb +34 -17
- data/lib/pokeapi_client/models/egg_group_name.rb +31 -16
- data/lib/pokeapi_client/models/egg_group_summary.rb +31 -16
- data/lib/pokeapi_client/models/encounter_condition_detail.rb +33 -16
- data/lib/pokeapi_client/models/encounter_condition_name.rb +31 -16
- data/lib/pokeapi_client/models/encounter_condition_summary.rb +31 -16
- data/lib/pokeapi_client/models/encounter_condition_value_detail.rb +33 -16
- data/lib/pokeapi_client/models/encounter_condition_value_name.rb +31 -16
- data/lib/pokeapi_client/models/encounter_condition_value_summary.rb +31 -16
- data/lib/pokeapi_client/models/encounter_method_detail.rb +57 -16
- data/lib/pokeapi_client/models/encounter_method_name.rb +31 -16
- data/lib/pokeapi_client/models/encounter_method_summary.rb +31 -16
- data/lib/pokeapi_client/models/encounter_pokemon_detail.rb +216 -0
- data/lib/pokeapi_client/models/evolution_chain_detail.rb +29 -27
- data/lib/pokeapi_client/models/{evolution_chain_detail_chain.rb → evolution_chain_link.rb} +87 -70
- data/lib/pokeapi_client/models/evolution_chain_summary.rb +25 -11
- data/lib/pokeapi_client/models/evolution_condition_expression.rb +220 -0
- data/lib/pokeapi_client/models/evolution_trigger_detail.rb +34 -17
- data/lib/pokeapi_client/models/evolution_trigger_name.rb +31 -16
- data/lib/pokeapi_client/models/evolution_trigger_summary.rb +31 -16
- data/lib/pokeapi_client/models/evolution_variable_description.rb +207 -0
- data/lib/pokeapi_client/models/evolution_variable_detail.rb +393 -0
- data/lib/pokeapi_client/models/evolution_variable_name.rb +214 -0
- data/lib/pokeapi_client/models/{pokemon_shape_detail_names_inner.rb → evolution_variable_summary.rb} +68 -44
- data/lib/pokeapi_client/models/experience.rb +62 -11
- data/lib/pokeapi_client/models/gender_detail.rb +35 -18
- data/lib/pokeapi_client/models/{gender_detail_pokemon_species_details_inner.rb → gender_pokemon_species.rb} +30 -15
- data/lib/pokeapi_client/models/gender_summary.rb +31 -16
- data/lib/pokeapi_client/models/generation_detail.rb +38 -16
- data/lib/pokeapi_client/models/generation_name.rb +31 -16
- data/lib/pokeapi_client/models/generation_summary.rb +31 -16
- data/lib/pokeapi_client/models/growth_rate_description.rb +31 -16
- data/lib/pokeapi_client/models/growth_rate_detail.rb +35 -16
- data/lib/pokeapi_client/models/growth_rate_summary.rb +31 -16
- data/lib/pokeapi_client/models/item_attribute_description.rb +31 -16
- data/lib/pokeapi_client/models/item_attribute_detail.rb +35 -17
- data/lib/pokeapi_client/models/item_attribute_name.rb +31 -16
- data/lib/pokeapi_client/models/item_attribute_summary.rb +31 -16
- data/lib/pokeapi_client/models/item_category_detail.rb +34 -16
- data/lib/pokeapi_client/models/item_category_name.rb +31 -16
- data/lib/pokeapi_client/models/item_category_summary.rb +31 -16
- data/lib/pokeapi_client/models/item_detail.rb +97 -55
- data/lib/pokeapi_client/models/item_effect_text.rb +27 -11
- data/lib/pokeapi_client/models/item_flavor_text.rb +27 -11
- data/lib/pokeapi_client/models/item_fling_effect_detail.rb +33 -16
- data/lib/pokeapi_client/models/item_fling_effect_effect_text.rb +26 -11
- data/lib/pokeapi_client/models/item_fling_effect_summary.rb +31 -16
- data/lib/pokeapi_client/models/item_game_index.rb +44 -11
- data/lib/pokeapi_client/models/{item_detail_machines_inner.rb → item_machine.rb} +31 -16
- data/lib/pokeapi_client/models/item_name.rb +31 -16
- data/lib/pokeapi_client/models/item_pocket_detail.rb +33 -16
- data/lib/pokeapi_client/models/item_pocket_name.rb +31 -16
- data/lib/pokeapi_client/models/item_pocket_summary.rb +31 -16
- data/lib/pokeapi_client/models/item_price.rb +275 -0
- data/lib/pokeapi_client/models/{item_detail_sprites.rb → item_sprites.rb} +29 -29
- data/lib/pokeapi_client/models/item_summary.rb +31 -16
- data/lib/pokeapi_client/models/language_detail.rb +35 -16
- data/lib/pokeapi_client/models/language_name.rb +31 -16
- data/lib/pokeapi_client/models/language_summary.rb +31 -16
- data/lib/pokeapi_client/models/location_area_detail.rb +56 -18
- data/lib/pokeapi_client/models/location_area_encounter_detail.rb +269 -0
- data/lib/pokeapi_client/models/{location_area_detail_encounter_method_rates_inner.rb → location_area_encounter_rate.rb} +31 -16
- data/lib/pokeapi_client/models/{location_area_detail_encounter_method_rates_inner_version_details_inner.rb → location_area_encounter_version_detail.rb} +30 -15
- data/lib/pokeapi_client/models/location_area_name.rb +31 -16
- data/lib/pokeapi_client/models/{item_detail_held_by_pokemon_inner.rb → location_area_pokemon_encounter.rb} +32 -17
- data/lib/pokeapi_client/models/{location_area_detail_pokemon_encounters_inner_version_details_inner.rb → location_area_pokemon_encounter_version.rb} +35 -17
- data/lib/pokeapi_client/models/location_area_summary.rb +31 -16
- data/lib/pokeapi_client/models/location_detail.rb +36 -31
- data/lib/pokeapi_client/models/location_game_index.rb +44 -11
- data/lib/pokeapi_client/models/location_name.rb +31 -16
- data/lib/pokeapi_client/models/location_summary.rb +31 -16
- data/lib/pokeapi_client/models/machine_detail.rb +28 -11
- data/lib/pokeapi_client/models/machine_summary.rb +25 -11
- data/lib/pokeapi_client/models/move_battle_style_detail.rb +32 -16
- data/lib/pokeapi_client/models/move_battle_style_name.rb +31 -16
- data/lib/pokeapi_client/models/move_battle_style_summary.rb +31 -16
- data/lib/pokeapi_client/models/move_change.rb +99 -35
- data/lib/pokeapi_client/models/{move_detail_contest_combos_normal.rb → move_combo_usage.rb} +33 -46
- data/lib/pokeapi_client/models/{move_detail_contest_combos.rb → move_combos.rb} +31 -16
- data/lib/pokeapi_client/models/move_damage_class_description.rb +31 -16
- data/lib/pokeapi_client/models/move_damage_class_detail.rb +34 -16
- data/lib/pokeapi_client/models/move_damage_class_name.rb +31 -16
- data/lib/pokeapi_client/models/move_damage_class_summary.rb +31 -16
- data/lib/pokeapi_client/models/move_detail.rb +133 -84
- data/lib/pokeapi_client/models/{move_detail_effect_changes_inner.rb → move_effect_change.rb} +59 -44
- data/lib/pokeapi_client/models/{move_change_effect_entries_inner.rb → move_effect_change_effect_text.rb} +37 -39
- data/lib/pokeapi_client/models/move_effect_effect_text.rb +250 -0
- data/lib/pokeapi_client/models/move_flavor_text.rb +27 -11
- data/lib/pokeapi_client/models/move_learn_method_description.rb +31 -16
- data/lib/pokeapi_client/models/move_learn_method_detail.rb +35 -17
- data/lib/pokeapi_client/models/move_learn_method_name.rb +31 -16
- data/lib/pokeapi_client/models/move_learn_method_summary.rb +31 -16
- data/lib/pokeapi_client/models/move_meta.rb +276 -11
- data/lib/pokeapi_client/models/move_meta_ailment_detail.rb +34 -17
- data/lib/pokeapi_client/models/move_meta_ailment_name.rb +31 -16
- data/lib/pokeapi_client/models/move_meta_ailment_summary.rb +31 -16
- data/lib/pokeapi_client/models/move_meta_category_description.rb +31 -16
- data/lib/pokeapi_client/models/move_meta_category_detail.rb +34 -17
- data/lib/pokeapi_client/models/move_meta_category_summary.rb +31 -16
- data/lib/pokeapi_client/models/{move_detail_stat_changes_inner.rb → move_meta_stat_change.rb} +48 -15
- data/lib/pokeapi_client/models/move_name.rb +31 -16
- data/lib/pokeapi_client/models/{stat_detail_affecting_moves_increase_inner.rb → move_stat_change.rb} +48 -15
- data/lib/pokeapi_client/models/move_summary.rb +31 -16
- data/lib/pokeapi_client/models/move_target_description.rb +31 -16
- data/lib/pokeapi_client/models/move_target_detail.rb +34 -16
- data/lib/pokeapi_client/models/move_target_name.rb +31 -16
- data/lib/pokeapi_client/models/move_target_summary.rb +31 -16
- data/lib/pokeapi_client/models/nature_battle_style_preference.rb +63 -11
- data/lib/pokeapi_client/models/nature_detail.rb +44 -106
- data/lib/pokeapi_client/models/nature_name.rb +31 -16
- data/lib/pokeapi_client/models/{nature_detail_pokeathlon_stat_changes_inner.rb → nature_pokeathlon_stat.rb} +48 -15
- data/lib/pokeapi_client/models/nature_summary.rb +31 -16
- data/lib/pokeapi_client/models/paginated_ability_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_berry_firmness_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_berry_flavor_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_berry_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_characteristic_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_contest_effect_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_contest_type_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_currency_summary_list.rb +229 -0
- data/lib/pokeapi_client/models/paginated_egg_group_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_encounter_condition_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_encounter_condition_value_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_encounter_method_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_evolution_chain_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_evolution_trigger_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/{evolution_chain_detail_chain_evolves_to_inner.rb → paginated_evolution_variable_summary_list.rb} +81 -70
- data/lib/pokeapi_client/models/paginated_gender_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_generation_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_growth_rate_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_item_attribute_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_item_category_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_item_fling_effect_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_item_pocket_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_item_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_language_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_location_area_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_location_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_machine_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_battle_style_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_damage_class_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_learn_method_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_meta_ailment_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_meta_category_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_move_target_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_nature_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pal_park_area_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokeathlon_stat_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokedex_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_color_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_form_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_habitat_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_shape_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_species_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_pokemon_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_region_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_stat_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_super_contest_effect_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_type_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_version_group_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/paginated_version_summary_list.rb +64 -11
- data/lib/pokeapi_client/models/pal_park_area_detail.rb +34 -17
- data/lib/pokeapi_client/models/pal_park_area_name.rb +31 -16
- data/lib/pokeapi_client/models/pal_park_area_summary.rb +31 -16
- data/lib/pokeapi_client/models/{pal_park_area_detail_pokemon_encounters_inner.rb → pal_park_encounter.rb} +89 -47
- data/lib/pokeapi_client/models/pokeapi_meta_response.rb +190 -0
- data/lib/pokeapi_client/models/{pokeathlon_stat_detail_affecting_natures_increase_inner.rb → pokeathlon_stat_affecting_nature.rb} +44 -20
- data/lib/pokeapi_client/models/{pokeathlon_stat_detail_affecting_natures.rb → pokeathlon_stat_affecting_natures.rb} +61 -46
- data/lib/pokeapi_client/models/pokeathlon_stat_detail.rb +34 -17
- data/lib/pokeapi_client/models/pokeathlon_stat_name.rb +31 -16
- data/lib/pokeapi_client/models/pokeathlon_stat_summary.rb +31 -16
- data/lib/pokeapi_client/models/pokedex_description.rb +31 -16
- data/lib/pokeapi_client/models/pokedex_detail.rb +40 -33
- data/lib/pokeapi_client/models/pokedex_name.rb +31 -16
- data/lib/pokeapi_client/models/pokedex_summary.rb +31 -16
- data/lib/pokeapi_client/models/{pokemon_detail_abilities_inner.rb → pokemon_ability.rb} +73 -56
- data/lib/pokeapi_client/models/pokemon_ability_past.rb +219 -0
- data/lib/pokeapi_client/models/pokemon_color_detail.rb +33 -16
- data/lib/pokeapi_client/models/pokemon_color_name.rb +31 -16
- data/lib/pokeapi_client/models/pokemon_color_summary.rb +31 -16
- data/lib/pokeapi_client/models/{pokemon_detail_cries.rb → pokemon_cries.rb} +31 -44
- data/lib/pokeapi_client/models/pokemon_detail.rb +186 -26
- data/lib/pokeapi_client/models/pokemon_dex_entry.rb +26 -11
- data/lib/pokeapi_client/models/{pokedex_detail_pokemon_entries_inner.rb → pokemon_dex_number.rb} +30 -15
- data/lib/pokeapi_client/models/{location_area_detail_pokemon_encounters_inner_version_details_inner_encounter_details.rb → pokemon_encounter_detail_response.rb} +104 -67
- data/lib/pokeapi_client/models/pokemon_encounter_response.rb +207 -0
- data/lib/pokeapi_client/models/pokemon_encounter_version_detail_response.rb +234 -0
- data/lib/pokeapi_client/models/pokemon_evolution.rb +785 -0
- data/lib/pokeapi_client/models/{evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_gender.rb → pokemon_evolution_known_move.rb} +27 -14
- data/lib/pokeapi_client/models/pokemon_form_detail.rb +156 -23
- data/lib/pokeapi_client/models/pokemon_form_flavor_text.rb +232 -0
- data/lib/pokeapi_client/models/pokemon_form_name.rb +214 -0
- data/lib/pokeapi_client/models/pokemon_form_sprites.rb +277 -0
- data/lib/pokeapi_client/models/pokemon_form_summary.rb +31 -16
- data/lib/pokeapi_client/models/{berry_detail_flavors_inner_flavor.rb → pokemon_form_trigger_condition.rb} +70 -20
- data/lib/pokeapi_client/models/pokemon_form_type.rb +223 -0
- data/lib/pokeapi_client/models/pokemon_game_index.rb +44 -11
- data/lib/pokeapi_client/models/pokemon_habitat_detail.rb +33 -16
- data/lib/pokeapi_client/models/pokemon_habitat_name.rb +31 -16
- data/lib/pokeapi_client/models/pokemon_habitat_summary.rb +31 -16
- data/lib/pokeapi_client/models/{location_area_detail_pokemon_encounters_inner.rb → pokemon_held_item.rb} +31 -16
- data/lib/pokeapi_client/models/{pokemon_detail_held_items.rb → pokemon_held_item_summary.rb} +31 -16
- data/lib/pokeapi_client/models/{item_detail_held_by_pokemon_inner_version_details_inner.rb → pokemon_held_item_version.rb} +30 -15
- data/lib/pokeapi_client/models/{pokemon_detail_moves_inner.rb → pokemon_move.rb} +31 -16
- data/lib/pokeapi_client/models/{pokemon_detail_moves_inner_version_group_details_inner.rb → pokemon_move_version_group.rb} +46 -19
- data/lib/pokeapi_client/models/{pokemon_detail_past_abilities_inner.rb → pokemon_past_ability.rb} +31 -16
- data/lib/pokeapi_client/models/pokemon_past_stat.rb +207 -0
- data/lib/pokeapi_client/models/{pokemon_detail_past_types_inner.rb → pokemon_past_type.rb} +31 -16
- data/lib/pokeapi_client/models/{pokemon_shape_detail_awesome_names_inner.rb → pokemon_shape_awesome_name.rb} +39 -15
- data/lib/pokeapi_client/models/pokemon_shape_detail.rb +36 -18
- data/lib/pokeapi_client/models/pokemon_shape_name.rb +214 -0
- data/lib/pokeapi_client/models/pokemon_shape_summary.rb +31 -16
- data/lib/pokeapi_client/models/pokemon_species_description.rb +31 -16
- data/lib/pokeapi_client/models/pokemon_species_detail.rb +183 -51
- data/lib/pokeapi_client/models/pokemon_species_flavor_text.rb +27 -11
- data/lib/pokeapi_client/models/{pokemon_species_detail_genera_inner.rb → pokemon_species_genus.rb} +39 -15
- data/lib/pokeapi_client/models/pokemon_species_name.rb +214 -0
- data/lib/pokeapi_client/models/{pokemon_species_detail_pal_park_encounters_inner.rb → pokemon_species_pal_park_encounter.rb} +91 -49
- data/lib/pokeapi_client/models/pokemon_species_summary.rb +31 -16
- data/lib/pokeapi_client/models/{pokemon_species_detail_varieties_inner.rb → pokemon_species_variety.rb} +30 -15
- data/lib/pokeapi_client/models/pokemon_sprites.rb +277 -0
- data/lib/pokeapi_client/models/{move_detail_machines_inner.rb → pokemon_sprites_other.rb} +62 -61
- data/lib/pokeapi_client/models/{pokemon_detail_sprites.rb → pokemon_sprites_other_dream_world.rb} +48 -18
- data/lib/pokeapi_client/models/pokemon_sprites_other_home.rb +203 -0
- data/lib/pokeapi_client/models/{berry_flavor_detail_berries_inner_berry.rb → pokemon_sprites_other_official_artwork.rb} +60 -29
- data/lib/pokeapi_client/models/pokemon_sprites_other_showdown.rb +255 -0
- data/lib/pokeapi_client/models/pokemon_stat.rb +63 -11
- data/lib/pokeapi_client/models/pokemon_summary.rb +31 -16
- data/lib/pokeapi_client/models/{pokemon_detail_types_inner.rb → pokemon_type.rb} +48 -15
- data/lib/pokeapi_client/models/region_detail.rb +38 -32
- data/lib/pokeapi_client/models/region_name.rb +31 -16
- data/lib/pokeapi_client/models/region_summary.rb +31 -16
- data/lib/pokeapi_client/models/{stat_detail_affecting_natures.rb → stat_affecting_moves.rb} +31 -16
- data/lib/pokeapi_client/models/{stat_detail_affecting_moves.rb → stat_affecting_natures.rb} +31 -16
- data/lib/pokeapi_client/models/stat_detail.rb +89 -34
- data/lib/pokeapi_client/models/stat_name.rb +31 -16
- data/lib/pokeapi_client/models/stat_summary.rb +31 -16
- data/lib/pokeapi_client/models/super_contest_effect_detail.rb +46 -11
- data/lib/pokeapi_client/models/super_contest_effect_flavor_text.rb +26 -11
- data/lib/pokeapi_client/models/super_contest_effect_summary.rb +25 -11
- data/lib/pokeapi_client/models/type_detail.rb +46 -36
- data/lib/pokeapi_client/models/type_game_index.rb +44 -11
- data/lib/pokeapi_client/models/{type_detail_sprites_value_value.rb → type_game_sprite.rb} +44 -18
- data/lib/pokeapi_client/models/{pokemon_form_detail_form_names_inner.rb → type_name.rb} +68 -44
- data/lib/pokeapi_client/models/{type_detail_past_damage_relations_inner.rb → type_past_relationships.rb} +31 -16
- data/lib/pokeapi_client/models/{ability_detail_pokemon_inner.rb → type_pokemon.rb} +49 -42
- data/lib/pokeapi_client/models/{type_detail_damage_relations.rb → type_relationships.rb} +39 -20
- data/lib/pokeapi_client/models/type_summary.rb +31 -16
- data/lib/pokeapi_client/models/version_detail.rb +33 -16
- data/lib/pokeapi_client/models/version_group_detail.rb +64 -19
- data/lib/pokeapi_client/models/version_group_summary.rb +31 -16
- data/lib/pokeapi_client/models/version_name.rb +31 -16
- data/lib/pokeapi_client/models/version_summary.rb +31 -16
- data/lib/pokeapi_client/version.rb +4 -4
- data/lib/pokeapi_client.rb +81 -64
- data/pokeapi_client.gemspec +4 -4
- data/spec/api/berries_api_spec.rb +3 -3
- data/spec/api/contests_api_spec.rb +3 -5
- data/spec/api/encounters_api_spec.rb +3 -3
- data/spec/api/evolution_api_spec.rb +29 -4
- data/spec/api/games_api_spec.rb +3 -3
- data/spec/api/items_api_spec.rb +29 -3
- data/spec/api/location_api_spec.rb +3 -3
- data/spec/api/machines_api_spec.rb +3 -4
- data/spec/api/moves_api_spec.rb +3 -3
- data/spec/api/pokemon_api_spec.rb +6 -5
- data/spec/api/utility_api_spec.rb +14 -3
- data/spec/models/ability_change_effect_text_spec.rb +3 -3
- data/spec/models/ability_change_spec.rb +3 -3
- data/spec/models/ability_detail_spec.rb +3 -3
- data/spec/models/ability_effect_text_spec.rb +3 -3
- data/spec/models/ability_flavor_text_spec.rb +3 -3
- data/spec/models/ability_name_spec.rb +3 -3
- data/spec/models/{ability_detail_pokemon_inner_spec.rb → ability_pokemon_detail_spec.rb} +9 -9
- data/spec/models/ability_summary_spec.rb +3 -3
- data/spec/models/berry_detail_spec.rb +3 -3
- data/spec/models/berry_firmness_detail_spec.rb +3 -3
- data/spec/models/berry_firmness_name_spec.rb +3 -3
- data/spec/models/berry_firmness_summary_spec.rb +3 -3
- data/spec/models/{berry_flavor_detail_berries_inner_spec.rb → berry_flavor_berry_map_spec.rb} +9 -9
- data/spec/models/berry_flavor_detail_spec.rb +3 -3
- data/spec/models/{berry_detail_flavors_inner_spec.rb → berry_flavor_map_spec.rb} +9 -9
- data/spec/models/berry_flavor_name_spec.rb +3 -3
- data/spec/models/berry_flavor_summary_spec.rb +3 -3
- data/spec/models/berry_summary_spec.rb +3 -3
- data/spec/models/characteristic_description_spec.rb +3 -3
- data/spec/models/characteristic_detail_spec.rb +3 -3
- data/spec/models/characteristic_summary_spec.rb +3 -3
- data/spec/models/contest_effect_detail_spec.rb +3 -3
- data/spec/models/contest_effect_effect_text_spec.rb +3 -3
- data/spec/models/contest_effect_flavor_text_spec.rb +3 -3
- data/spec/models/contest_effect_summary_spec.rb +3 -3
- data/spec/models/contest_type_detail_spec.rb +3 -3
- data/spec/models/contest_type_name_spec.rb +3 -3
- data/spec/models/contest_type_summary_spec.rb +3 -3
- data/spec/models/{ability_detail_pokemon_inner_pokemon_spec.rb → currency_detail_spec.rb} +16 -10
- data/spec/models/currency_name_spec.rb +42 -0
- data/spec/models/{type_detail_pokemon_inner_pokemon_spec.rb → currency_summary_spec.rb} +9 -9
- data/spec/models/egg_group_detail_spec.rb +3 -3
- data/spec/models/egg_group_name_spec.rb +3 -3
- data/spec/models/egg_group_summary_spec.rb +3 -3
- data/spec/models/encounter_condition_detail_spec.rb +3 -3
- data/spec/models/encounter_condition_name_spec.rb +3 -3
- data/spec/models/encounter_condition_summary_spec.rb +3 -3
- data/spec/models/encounter_condition_value_detail_spec.rb +3 -3
- data/spec/models/encounter_condition_value_name_spec.rb +3 -3
- data/spec/models/encounter_condition_value_summary_spec.rb +3 -3
- data/spec/models/encounter_method_detail_spec.rb +3 -3
- data/spec/models/encounter_method_name_spec.rb +3 -3
- data/spec/models/encounter_method_summary_spec.rb +3 -3
- data/spec/models/encounter_pokemon_detail_spec.rb +54 -0
- data/spec/models/evolution_chain_detail_spec.rb +3 -3
- data/spec/models/{evolution_chain_detail_chain_spec.rb → evolution_chain_link_spec.rb} +13 -13
- data/spec/models/evolution_chain_summary_spec.rb +3 -3
- data/spec/models/{evolution_chain_detail_chain_evolves_to_inner_spec.rb → evolution_condition_expression_spec.rb} +12 -12
- data/spec/models/evolution_trigger_detail_spec.rb +3 -3
- data/spec/models/evolution_trigger_name_spec.rb +3 -3
- data/spec/models/evolution_trigger_summary_spec.rb +3 -3
- data/spec/models/evolution_variable_description_spec.rb +42 -0
- data/spec/models/{type_detail_past_damage_relations_inner_damage_relations_spec.rb → evolution_variable_detail_spec.rb} +27 -15
- data/spec/models/evolution_variable_name_spec.rb +42 -0
- data/spec/models/{berry_detail_flavors_inner_flavor_spec.rb → evolution_variable_summary_spec.rb} +9 -9
- data/spec/models/experience_spec.rb +3 -3
- data/spec/models/gender_detail_spec.rb +3 -3
- data/spec/models/{gender_detail_pokemon_species_details_inner_spec.rb → gender_pokemon_species_spec.rb} +9 -9
- data/spec/models/gender_summary_spec.rb +3 -3
- data/spec/models/generation_detail_spec.rb +3 -3
- data/spec/models/generation_name_spec.rb +3 -3
- data/spec/models/generation_summary_spec.rb +3 -3
- data/spec/models/growth_rate_description_spec.rb +3 -3
- data/spec/models/growth_rate_detail_spec.rb +3 -3
- data/spec/models/growth_rate_summary_spec.rb +3 -3
- data/spec/models/item_attribute_description_spec.rb +3 -3
- data/spec/models/item_attribute_detail_spec.rb +3 -3
- data/spec/models/item_attribute_name_spec.rb +3 -3
- data/spec/models/item_attribute_summary_spec.rb +3 -3
- data/spec/models/item_category_detail_spec.rb +3 -3
- data/spec/models/item_category_name_spec.rb +3 -3
- data/spec/models/item_category_summary_spec.rb +3 -3
- data/spec/models/item_detail_spec.rb +9 -9
- data/spec/models/item_effect_text_spec.rb +3 -3
- data/spec/models/item_flavor_text_spec.rb +3 -3
- data/spec/models/item_fling_effect_detail_spec.rb +3 -3
- data/spec/models/item_fling_effect_effect_text_spec.rb +3 -3
- data/spec/models/item_fling_effect_summary_spec.rb +3 -3
- data/spec/models/item_game_index_spec.rb +3 -3
- data/spec/models/{move_detail_machines_inner_spec.rb → item_machine_spec.rb} +9 -9
- data/spec/models/item_name_spec.rb +3 -3
- data/spec/models/item_pocket_detail_spec.rb +3 -3
- data/spec/models/item_pocket_name_spec.rb +3 -3
- data/spec/models/item_pocket_summary_spec.rb +3 -3
- data/spec/models/item_price_spec.rb +54 -0
- data/spec/models/{item_detail_sprites_spec.rb → item_sprites_spec.rb} +9 -9
- data/spec/models/item_summary_spec.rb +3 -3
- data/spec/models/language_detail_spec.rb +3 -3
- data/spec/models/language_name_spec.rb +3 -3
- data/spec/models/language_summary_spec.rb +3 -3
- data/spec/models/location_area_detail_spec.rb +3 -3
- data/spec/models/{location_area_detail_pokemon_encounters_inner_version_details_inner_encounter_details_spec.rb → location_area_encounter_detail_spec.rb} +18 -12
- data/spec/models/{location_area_detail_encounter_method_rates_inner_spec.rb → location_area_encounter_rate_spec.rb} +9 -9
- data/spec/models/{location_area_detail_encounter_method_rates_inner_version_details_inner_spec.rb → location_area_encounter_version_detail_spec.rb} +9 -9
- data/spec/models/location_area_name_spec.rb +3 -3
- data/spec/models/{location_area_detail_pokemon_encounters_inner_spec.rb → location_area_pokemon_encounter_spec.rb} +9 -9
- data/spec/models/{location_area_detail_pokemon_encounters_inner_version_details_inner_spec.rb → location_area_pokemon_encounter_version_spec.rb} +9 -9
- data/spec/models/location_area_summary_spec.rb +3 -3
- data/spec/models/location_detail_spec.rb +3 -3
- data/spec/models/location_game_index_spec.rb +3 -3
- data/spec/models/location_name_spec.rb +3 -3
- data/spec/models/location_summary_spec.rb +3 -3
- data/spec/models/machine_detail_spec.rb +3 -3
- data/spec/models/machine_summary_spec.rb +3 -3
- data/spec/models/move_battle_style_detail_spec.rb +3 -3
- data/spec/models/move_battle_style_name_spec.rb +3 -3
- data/spec/models/move_battle_style_summary_spec.rb +3 -3
- data/spec/models/move_change_spec.rb +3 -3
- data/spec/models/{move_detail_contest_combos_normal_spec.rb → move_combo_usage_spec.rb} +9 -9
- data/spec/models/{move_detail_contest_combos_spec.rb → move_combos_spec.rb} +9 -9
- data/spec/models/move_damage_class_description_spec.rb +3 -3
- data/spec/models/move_damage_class_detail_spec.rb +3 -3
- data/spec/models/move_damage_class_name_spec.rb +3 -3
- data/spec/models/move_damage_class_summary_spec.rb +3 -3
- data/spec/models/move_detail_spec.rb +3 -3
- data/spec/models/{move_detail_effect_changes_inner_effect_entries_inner_spec.rb → move_effect_change_effect_text_spec.rb} +9 -9
- data/spec/models/{move_detail_effect_changes_inner_spec.rb → move_effect_change_spec.rb} +11 -11
- data/spec/models/{move_change_effect_entries_inner_spec.rb → move_effect_effect_text_spec.rb} +9 -9
- data/spec/models/move_flavor_text_spec.rb +3 -3
- data/spec/models/move_learn_method_description_spec.rb +3 -3
- data/spec/models/move_learn_method_detail_spec.rb +3 -3
- data/spec/models/move_learn_method_name_spec.rb +3 -3
- data/spec/models/move_learn_method_summary_spec.rb +3 -3
- data/spec/models/move_meta_ailment_detail_spec.rb +3 -3
- data/spec/models/move_meta_ailment_name_spec.rb +3 -3
- data/spec/models/move_meta_ailment_summary_spec.rb +3 -3
- data/spec/models/move_meta_category_description_spec.rb +3 -3
- data/spec/models/move_meta_category_detail_spec.rb +3 -3
- data/spec/models/move_meta_category_summary_spec.rb +3 -3
- data/spec/models/move_meta_spec.rb +3 -3
- data/spec/models/{move_detail_stat_changes_inner_spec.rb → move_meta_stat_change_spec.rb} +9 -9
- data/spec/models/move_name_spec.rb +3 -3
- data/spec/models/{stat_detail_affecting_moves_increase_inner_spec.rb → move_stat_change_spec.rb} +9 -9
- data/spec/models/move_summary_spec.rb +3 -3
- data/spec/models/move_target_description_spec.rb +3 -3
- data/spec/models/move_target_detail_spec.rb +3 -3
- data/spec/models/move_target_name_spec.rb +3 -3
- data/spec/models/move_target_summary_spec.rb +3 -3
- data/spec/models/nature_battle_style_preference_spec.rb +3 -3
- data/spec/models/nature_detail_spec.rb +3 -9
- data/spec/models/nature_name_spec.rb +3 -3
- data/spec/models/{nature_detail_pokeathlon_stat_changes_inner_spec.rb → nature_pokeathlon_stat_spec.rb} +9 -9
- data/spec/models/nature_summary_spec.rb +3 -3
- data/spec/models/paginated_ability_summary_list_spec.rb +3 -3
- data/spec/models/paginated_berry_firmness_summary_list_spec.rb +3 -3
- data/spec/models/paginated_berry_flavor_summary_list_spec.rb +3 -3
- data/spec/models/paginated_berry_summary_list_spec.rb +3 -3
- data/spec/models/paginated_characteristic_summary_list_spec.rb +3 -3
- data/spec/models/paginated_contest_effect_summary_list_spec.rb +3 -3
- data/spec/models/paginated_contest_type_summary_list_spec.rb +3 -3
- data/spec/models/paginated_currency_summary_list_spec.rb +54 -0
- data/spec/models/paginated_egg_group_summary_list_spec.rb +3 -3
- data/spec/models/paginated_encounter_condition_summary_list_spec.rb +3 -3
- data/spec/models/paginated_encounter_condition_value_summary_list_spec.rb +3 -3
- data/spec/models/paginated_encounter_method_summary_list_spec.rb +3 -3
- data/spec/models/paginated_evolution_chain_summary_list_spec.rb +3 -3
- data/spec/models/paginated_evolution_trigger_summary_list_spec.rb +3 -3
- data/spec/models/paginated_evolution_variable_summary_list_spec.rb +54 -0
- data/spec/models/paginated_gender_summary_list_spec.rb +3 -3
- data/spec/models/paginated_generation_summary_list_spec.rb +3 -3
- data/spec/models/paginated_growth_rate_summary_list_spec.rb +3 -3
- data/spec/models/paginated_item_attribute_summary_list_spec.rb +3 -3
- data/spec/models/paginated_item_category_summary_list_spec.rb +3 -3
- data/spec/models/paginated_item_fling_effect_summary_list_spec.rb +3 -3
- data/spec/models/paginated_item_pocket_summary_list_spec.rb +3 -3
- data/spec/models/paginated_item_summary_list_spec.rb +3 -3
- data/spec/models/paginated_language_summary_list_spec.rb +3 -3
- data/spec/models/paginated_location_area_summary_list_spec.rb +3 -3
- data/spec/models/paginated_location_summary_list_spec.rb +3 -3
- data/spec/models/paginated_machine_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_battle_style_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_damage_class_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_learn_method_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_meta_ailment_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_meta_category_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_summary_list_spec.rb +3 -3
- data/spec/models/paginated_move_target_summary_list_spec.rb +3 -3
- data/spec/models/paginated_nature_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pal_park_area_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokeathlon_stat_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokedex_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_color_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_form_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_habitat_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_shape_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_species_summary_list_spec.rb +3 -3
- data/spec/models/paginated_pokemon_summary_list_spec.rb +3 -3
- data/spec/models/paginated_region_summary_list_spec.rb +3 -3
- data/spec/models/paginated_stat_summary_list_spec.rb +3 -3
- data/spec/models/paginated_super_contest_effect_summary_list_spec.rb +3 -3
- data/spec/models/paginated_type_summary_list_spec.rb +3 -3
- data/spec/models/paginated_version_group_summary_list_spec.rb +3 -3
- data/spec/models/paginated_version_summary_list_spec.rb +3 -3
- data/spec/models/pal_park_area_detail_spec.rb +3 -3
- data/spec/models/pal_park_area_name_spec.rb +3 -3
- data/spec/models/pal_park_area_summary_spec.rb +3 -3
- data/spec/models/{pal_park_area_detail_pokemon_encounters_inner_spec.rb → pal_park_encounter_spec.rb} +11 -11
- data/spec/models/pokeapi_meta_response_spec.rb +48 -0
- data/spec/models/{pokeathlon_stat_detail_affecting_natures_decrease_inner_spec.rb → pokeathlon_stat_affecting_nature_spec.rb} +9 -9
- data/spec/models/{pokeathlon_stat_detail_affecting_natures_spec.rb → pokeathlon_stat_affecting_natures_spec.rb} +11 -11
- data/spec/models/pokeathlon_stat_detail_spec.rb +3 -3
- data/spec/models/pokeathlon_stat_name_spec.rb +3 -3
- data/spec/models/pokeathlon_stat_summary_spec.rb +3 -3
- data/spec/models/pokedex_description_spec.rb +3 -3
- data/spec/models/pokedex_detail_spec.rb +3 -3
- data/spec/models/pokedex_name_spec.rb +3 -3
- data/spec/models/pokedex_summary_spec.rb +3 -3
- data/spec/models/{pokemon_detail_abilities_inner_spec.rb → pokemon_ability_past_spec.rb} +12 -12
- data/spec/models/pokemon_ability_spec.rb +48 -0
- data/spec/models/pokemon_color_detail_spec.rb +3 -3
- data/spec/models/pokemon_color_name_spec.rb +3 -3
- data/spec/models/pokemon_color_summary_spec.rb +3 -3
- data/spec/models/{pokemon_detail_cries_spec.rb → pokemon_cries_spec.rb} +9 -9
- data/spec/models/pokemon_detail_spec.rb +9 -3
- data/spec/models/pokemon_dex_entry_spec.rb +3 -3
- data/spec/models/pokemon_dex_number_spec.rb +42 -0
- data/spec/models/pokemon_encounter_detail_response_spec.rb +60 -0
- data/spec/models/pokemon_encounter_response_spec.rb +42 -0
- data/spec/models/pokemon_encounter_version_detail_response_spec.rb +48 -0
- data/spec/models/{pokemon_shape_detail_names_inner_spec.rb → pokemon_evolution_known_move_spec.rb} +11 -11
- data/spec/models/{evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_spec.rb → pokemon_evolution_spec.rb} +94 -16
- data/spec/models/pokemon_form_detail_spec.rb +15 -3
- data/spec/models/pokemon_form_flavor_text_spec.rb +48 -0
- data/spec/models/{pokemon_form_detail_form_names_inner_spec.rb → pokemon_form_name_spec.rb} +11 -11
- data/spec/models/pokemon_form_sprites_spec.rb +90 -0
- data/spec/models/pokemon_form_summary_spec.rb +3 -3
- data/spec/models/pokemon_form_trigger_condition_spec.rb +54 -0
- data/spec/models/{pokemon_detail_types_inner_spec.rb → pokemon_form_type_spec.rb} +9 -9
- data/spec/models/pokemon_game_index_spec.rb +3 -3
- data/spec/models/pokemon_habitat_detail_spec.rb +3 -3
- data/spec/models/pokemon_habitat_name_spec.rb +3 -3
- data/spec/models/pokemon_habitat_summary_spec.rb +3 -3
- data/spec/models/{item_detail_held_by_pokemon_inner_spec.rb → pokemon_held_item_spec.rb} +9 -9
- data/spec/models/{pokemon_detail_held_items_spec.rb → pokemon_held_item_summary_spec.rb} +9 -9
- data/spec/models/pokemon_held_item_version_spec.rb +42 -0
- data/spec/models/{pokemon_detail_moves_inner_spec.rb → pokemon_move_spec.rb} +9 -9
- data/spec/models/{pokemon_detail_moves_inner_version_group_details_inner_spec.rb → pokemon_move_version_group_spec.rb} +15 -9
- data/spec/models/{pokemon_detail_past_abilities_inner_spec.rb → pokemon_past_ability_spec.rb} +9 -9
- data/spec/models/pokemon_past_stat_spec.rb +42 -0
- data/spec/models/{pokemon_detail_past_types_inner_spec.rb → pokemon_past_type_spec.rb} +9 -9
- data/spec/models/{pokemon_shape_detail_awesome_names_inner_spec.rb → pokemon_shape_awesome_name_spec.rb} +9 -9
- data/spec/models/pokemon_shape_detail_spec.rb +3 -3
- data/spec/models/pokemon_shape_name_spec.rb +42 -0
- data/spec/models/pokemon_shape_summary_spec.rb +3 -3
- data/spec/models/pokemon_species_description_spec.rb +3 -3
- data/spec/models/pokemon_species_detail_spec.rb +3 -3
- data/spec/models/pokemon_species_flavor_text_spec.rb +3 -3
- data/spec/models/{pokemon_species_detail_genera_inner_spec.rb → pokemon_species_genus_spec.rb} +9 -9
- data/spec/models/pokemon_species_name_spec.rb +42 -0
- data/spec/models/{pokemon_species_detail_pal_park_encounters_inner_spec.rb → pokemon_species_pal_park_encounter_spec.rb} +12 -12
- data/spec/models/pokemon_species_summary_spec.rb +3 -3
- data/spec/models/{pokemon_species_detail_varieties_inner_spec.rb → pokemon_species_variety_spec.rb} +9 -9
- data/spec/models/pokemon_sprites_other_dream_world_spec.rb +42 -0
- data/spec/models/pokemon_sprites_other_home_spec.rb +54 -0
- data/spec/models/pokemon_sprites_other_official_artwork_spec.rb +48 -0
- data/spec/models/pokemon_sprites_other_showdown_spec.rb +78 -0
- data/spec/models/pokemon_sprites_other_spec.rb +54 -0
- data/spec/models/pokemon_sprites_spec.rb +90 -0
- data/spec/models/pokemon_stat_spec.rb +3 -3
- data/spec/models/pokemon_summary_spec.rb +3 -3
- data/spec/models/pokemon_type_spec.rb +42 -0
- data/spec/models/region_detail_spec.rb +3 -3
- data/spec/models/region_name_spec.rb +3 -3
- data/spec/models/region_summary_spec.rb +3 -3
- data/spec/models/{stat_detail_affecting_moves_spec.rb → stat_affecting_moves_spec.rb} +9 -9
- data/spec/models/{stat_detail_affecting_natures_spec.rb → stat_affecting_natures_spec.rb} +9 -9
- data/spec/models/stat_detail_spec.rb +9 -3
- data/spec/models/stat_name_spec.rb +3 -3
- data/spec/models/stat_summary_spec.rb +3 -3
- data/spec/models/super_contest_effect_detail_spec.rb +3 -3
- data/spec/models/super_contest_effect_flavor_text_spec.rb +3 -3
- data/spec/models/super_contest_effect_summary_spec.rb +3 -3
- data/spec/models/type_detail_spec.rb +3 -3
- data/spec/models/type_game_index_spec.rb +3 -3
- data/spec/models/type_game_sprite_spec.rb +42 -0
- data/spec/models/type_name_spec.rb +42 -0
- data/spec/models/{type_detail_past_damage_relations_inner_spec.rb → type_past_relationships_spec.rb} +9 -9
- data/spec/models/{type_detail_pokemon_inner_spec.rb → type_pokemon_spec.rb} +9 -9
- data/spec/models/{type_detail_damage_relations_spec.rb → type_relationships_spec.rb} +9 -9
- data/spec/models/type_summary_spec.rb +3 -3
- data/spec/models/version_detail_spec.rb +3 -3
- data/spec/models/version_group_detail_spec.rb +3 -3
- data/spec/models/version_group_summary_spec.rb +3 -3
- data/spec/models/version_name_spec.rb +3 -3
- data/spec/models/version_summary_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- metadata +315 -247
- data/docs/AbilityDetailPokemonInner.md +0 -22
- data/docs/BerryDetailFlavorsInner.md +0 -20
- data/docs/BerryDetailFlavorsInnerFlavor.md +0 -20
- data/docs/BerryFlavorDetailBerriesInner.md +0 -20
- data/docs/BerryFlavorDetailBerriesInnerBerry.md +0 -20
- data/docs/EggGroupDetailPokemonSpeciesInner.md +0 -20
- data/docs/EvolutionChainDetailChain.md +0 -24
- data/docs/EvolutionChainDetailChainEvolvesToInner.md +0 -22
- data/docs/EvolutionChainDetailChainEvolvesToInnerEvolutionDetailsInner.md +0 -52
- data/docs/EvolutionChainDetailChainEvolvesToInnerEvolutionDetailsInnerGender.md +0 -20
- data/docs/GenderDetailPokemonSpeciesDetailsInner.md +0 -20
- data/docs/ItemDetailBabyTriggerFor.md +0 -18
- data/docs/ItemDetailHeldByPokemonInner.md +0 -20
- data/docs/ItemDetailHeldByPokemonInnerVersionDetailsInner.md +0 -20
- data/docs/ItemDetailMachinesInner.md +0 -20
- data/docs/LocationAreaDetailEncounterMethodRatesInner.md +0 -20
- data/docs/LocationAreaDetailEncounterMethodRatesInnerVersionDetailsInner.md +0 -20
- data/docs/LocationAreaDetailPokemonEncountersInner.md +0 -20
- data/docs/LocationAreaDetailPokemonEncountersInnerVersionDetailsInner.md +0 -22
- data/docs/LocationAreaDetailPokemonEncountersInnerVersionDetailsInnerEncounterDetails.md +0 -26
- data/docs/MoveChangeEffectEntriesInner.md +0 -22
- data/docs/MoveDetailContestCombos.md +0 -20
- data/docs/MoveDetailContestCombosNormal.md +0 -20
- data/docs/MoveDetailEffectChangesInner.md +0 -20
- data/docs/MoveDetailEffectChangesInnerEffectEntriesInner.md +0 -20
- data/docs/MoveDetailMachinesInner.md +0 -20
- data/docs/MoveDetailMachinesInnerMachine.md +0 -18
- data/docs/MoveDetailStatChangesInner.md +0 -20
- data/docs/NatureDetailPokeathlonStatChangesInner.md +0 -20
- data/docs/PalParkAreaDetailPokemonEncountersInner.md +0 -22
- data/docs/PokeathlonStatDetailAffectingNatures.md +0 -20
- data/docs/PokeathlonStatDetailAffectingNaturesDecreaseInner.md +0 -20
- data/docs/PokeathlonStatDetailAffectingNaturesIncreaseInner.md +0 -20
- data/docs/PokedexDetailPokemonEntriesInner.md +0 -20
- data/docs/PokemonDetailAbilitiesInner.md +0 -22
- data/docs/PokemonDetailCries.md +0 -20
- data/docs/PokemonDetailHeldItems.md +0 -20
- data/docs/PokemonDetailMovesInner.md +0 -20
- data/docs/PokemonDetailMovesInnerVersionGroupDetailsInner.md +0 -22
- data/docs/PokemonDetailPastAbilitiesInner.md +0 -20
- data/docs/PokemonDetailPastTypesInner.md +0 -20
- data/docs/PokemonDetailSprites.md +0 -18
- data/docs/PokemonDetailTypesInner.md +0 -20
- data/docs/PokemonFormDetailFormNamesInner.md +0 -20
- data/docs/PokemonFormDetailSprites.md +0 -18
- data/docs/PokemonShapeDetailAwesomeNamesInner.md +0 -20
- data/docs/PokemonShapeDetailNamesInner.md +0 -20
- data/docs/PokemonSpeciesDetailGeneraInner.md +0 -20
- data/docs/PokemonSpeciesDetailPalParkEncountersInner.md +0 -22
- data/docs/PokemonSpeciesDetailVarietiesInner.md +0 -20
- data/docs/StatDetailAffectingMoves.md +0 -20
- data/docs/StatDetailAffectingMovesIncreaseInner.md +0 -20
- data/docs/StatDetailAffectingNatures.md +0 -20
- data/docs/TypeDetailDamageRelations.md +0 -28
- data/docs/TypeDetailPastDamageRelationsInner.md +0 -20
- data/docs/TypeDetailPastDamageRelationsInnerDamageRelations.md +0 -28
- data/docs/TypeDetailPokemonInner.md +0 -20
- data/docs/TypeDetailPokemonInnerPokemon.md +0 -20
- data/docs/TypeDetailSpritesValueValue.md +0 -18
- data/lib/pokeapi_client/models/egg_group_detail_pokemon_species_inner.rb +0 -158
- data/lib/pokeapi_client/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner.rb +0 -606
- data/lib/pokeapi_client/models/item_detail_baby_trigger_for.rb +0 -164
- data/lib/pokeapi_client/models/move_detail_machines_inner_machine.rb +0 -164
- data/lib/pokeapi_client/models/pokeathlon_stat_detail_affecting_natures_decrease_inner.rb +0 -199
- data/lib/pokeapi_client/models/pokemon_form_detail_sprites.rb +0 -147
- data/lib/pokeapi_client/models/type_detail_past_damage_relations_inner_damage_relations.rb +0 -306
- data/lib/pokeapi_client/models/type_detail_pokemon_inner.rb +0 -156
- data/lib/pokeapi_client/models/type_detail_pokemon_inner_pokemon.rb +0 -158
- data/spec/models/berry_flavor_detail_berries_inner_berry_spec.rb +0 -42
- data/spec/models/egg_group_detail_pokemon_species_inner_spec.rb +0 -42
- data/spec/models/evolution_chain_detail_chain_evolves_to_inner_evolution_details_inner_gender_spec.rb +0 -42
- data/spec/models/item_detail_baby_trigger_for_spec.rb +0 -36
- data/spec/models/item_detail_held_by_pokemon_inner_version_details_inner_spec.rb +0 -42
- data/spec/models/item_detail_machines_inner_spec.rb +0 -42
- data/spec/models/move_detail_machines_inner_machine_spec.rb +0 -36
- data/spec/models/pokeathlon_stat_detail_affecting_natures_increase_inner_spec.rb +0 -42
- data/spec/models/pokedex_detail_pokemon_entries_inner_spec.rb +0 -42
- data/spec/models/pokemon_detail_sprites_spec.rb +0 -36
- data/spec/models/pokemon_form_detail_sprites_spec.rb +0 -36
- data/spec/models/type_detail_sprites_value_value_spec.rb +0 -36
data/docs/PokemonApi.md
CHANGED
|
@@ -4,9 +4,9 @@ All URIs are relative to *https://pokeapi.co*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**ability_list**](PokemonApi.md#ability_list) | **GET** /api/v2/ability/ |
|
|
8
|
-
| [**ability_retrieve**](PokemonApi.md#ability_retrieve) | **GET** /api/v2/ability/{id}/ |
|
|
9
|
-
| [**characteristic_list**](PokemonApi.md#characteristic_list) | **GET** /api/v2/characteristic/ | List
|
|
7
|
+
| [**ability_list**](PokemonApi.md#ability_list) | **GET** /api/v2/ability/ | List abilities |
|
|
8
|
+
| [**ability_retrieve**](PokemonApi.md#ability_retrieve) | **GET** /api/v2/ability/{id}/ | Get ability |
|
|
9
|
+
| [**characteristic_list**](PokemonApi.md#characteristic_list) | **GET** /api/v2/characteristic/ | List characteristics |
|
|
10
10
|
| [**characteristic_retrieve**](PokemonApi.md#characteristic_retrieve) | **GET** /api/v2/characteristic/{id}/ | Get characteristic |
|
|
11
11
|
| [**egg_group_list**](PokemonApi.md#egg_group_list) | **GET** /api/v2/egg-group/ | List egg groups |
|
|
12
12
|
| [**egg_group_retrieve**](PokemonApi.md#egg_group_retrieve) | **GET** /api/v2/egg-group/{id}/ | Get egg group |
|
|
@@ -42,7 +42,7 @@ All URIs are relative to *https://pokeapi.co*
|
|
|
42
42
|
|
|
43
43
|
> <PaginatedAbilitySummaryList> ability_list(opts)
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
List abilities
|
|
46
46
|
|
|
47
47
|
Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have multiple possible abilities but can have only one ability at a time. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Ability) for greater detail.
|
|
48
48
|
|
|
@@ -51,17 +51,6 @@ Abilities provide passive effects for Pokémon in battle or in the overworld. Po
|
|
|
51
51
|
```ruby
|
|
52
52
|
require 'time'
|
|
53
53
|
require 'pokeapi_client'
|
|
54
|
-
# setup authorization
|
|
55
|
-
PokeApiClient.configure do |config|
|
|
56
|
-
# Configure HTTP basic authorization: basicAuth
|
|
57
|
-
config.username = 'YOUR USERNAME'
|
|
58
|
-
config.password = 'YOUR PASSWORD'
|
|
59
|
-
|
|
60
|
-
# Configure API key authorization: cookieAuth
|
|
61
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
62
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
63
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
64
|
-
end
|
|
65
54
|
|
|
66
55
|
api_instance = PokeApiClient::PokemonApi.new
|
|
67
56
|
opts = {
|
|
@@ -71,7 +60,7 @@ opts = {
|
|
|
71
60
|
}
|
|
72
61
|
|
|
73
62
|
begin
|
|
74
|
-
|
|
63
|
+
# List abilities
|
|
75
64
|
result = api_instance.ability_list(opts)
|
|
76
65
|
p result
|
|
77
66
|
rescue PokeApiClient::ApiError => e
|
|
@@ -87,7 +76,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
|
87
76
|
|
|
88
77
|
```ruby
|
|
89
78
|
begin
|
|
90
|
-
|
|
79
|
+
# List abilities
|
|
91
80
|
data, status_code, headers = api_instance.ability_list_with_http_info(opts)
|
|
92
81
|
p status_code # => 2xx
|
|
93
82
|
p headers # => { ... }
|
|
@@ -111,7 +100,7 @@ end
|
|
|
111
100
|
|
|
112
101
|
### Authorization
|
|
113
102
|
|
|
114
|
-
|
|
103
|
+
No authorization required
|
|
115
104
|
|
|
116
105
|
### HTTP request headers
|
|
117
106
|
|
|
@@ -123,7 +112,7 @@ end
|
|
|
123
112
|
|
|
124
113
|
> <AbilityDetail> ability_retrieve(id)
|
|
125
114
|
|
|
126
|
-
|
|
115
|
+
Get ability
|
|
127
116
|
|
|
128
117
|
Abilities provide passive effects for Pokémon in battle or in the overworld. Pokémon have multiple possible abilities but can have only one ability at a time. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Ability) for greater detail.
|
|
129
118
|
|
|
@@ -132,23 +121,12 @@ Abilities provide passive effects for Pokémon in battle or in the overworld. Po
|
|
|
132
121
|
```ruby
|
|
133
122
|
require 'time'
|
|
134
123
|
require 'pokeapi_client'
|
|
135
|
-
# setup authorization
|
|
136
|
-
PokeApiClient.configure do |config|
|
|
137
|
-
# Configure HTTP basic authorization: basicAuth
|
|
138
|
-
config.username = 'YOUR USERNAME'
|
|
139
|
-
config.password = 'YOUR PASSWORD'
|
|
140
|
-
|
|
141
|
-
# Configure API key authorization: cookieAuth
|
|
142
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
143
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
144
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
145
|
-
end
|
|
146
124
|
|
|
147
125
|
api_instance = PokeApiClient::PokemonApi.new
|
|
148
|
-
id = '
|
|
126
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
149
127
|
|
|
150
128
|
begin
|
|
151
|
-
|
|
129
|
+
# Get ability
|
|
152
130
|
result = api_instance.ability_retrieve(id)
|
|
153
131
|
p result
|
|
154
132
|
rescue PokeApiClient::ApiError => e
|
|
@@ -164,7 +142,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
|
164
142
|
|
|
165
143
|
```ruby
|
|
166
144
|
begin
|
|
167
|
-
|
|
145
|
+
# Get ability
|
|
168
146
|
data, status_code, headers = api_instance.ability_retrieve_with_http_info(id)
|
|
169
147
|
p status_code # => 2xx
|
|
170
148
|
p headers # => { ... }
|
|
@@ -186,7 +164,7 @@ end
|
|
|
186
164
|
|
|
187
165
|
### Authorization
|
|
188
166
|
|
|
189
|
-
|
|
167
|
+
No authorization required
|
|
190
168
|
|
|
191
169
|
### HTTP request headers
|
|
192
170
|
|
|
@@ -198,7 +176,7 @@ end
|
|
|
198
176
|
|
|
199
177
|
> <PaginatedCharacteristicSummaryList> characteristic_list(opts)
|
|
200
178
|
|
|
201
|
-
List
|
|
179
|
+
List characteristics
|
|
202
180
|
|
|
203
181
|
Characteristics indicate which stat contains a Pokémon's highest IV. A Pokémon's Characteristic is determined by the remainder of its highest IV divided by 5 (gene_modulo). Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Characteristic) for greater detail.
|
|
204
182
|
|
|
@@ -207,27 +185,15 @@ Characteristics indicate which stat contains a Pokémon's highest IV. A Pokémon
|
|
|
207
185
|
```ruby
|
|
208
186
|
require 'time'
|
|
209
187
|
require 'pokeapi_client'
|
|
210
|
-
# setup authorization
|
|
211
|
-
PokeApiClient.configure do |config|
|
|
212
|
-
# Configure HTTP basic authorization: basicAuth
|
|
213
|
-
config.username = 'YOUR USERNAME'
|
|
214
|
-
config.password = 'YOUR PASSWORD'
|
|
215
|
-
|
|
216
|
-
# Configure API key authorization: cookieAuth
|
|
217
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
218
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
219
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
220
|
-
end
|
|
221
188
|
|
|
222
189
|
api_instance = PokeApiClient::PokemonApi.new
|
|
223
190
|
opts = {
|
|
224
191
|
limit: 56, # Integer | Number of results to return per page.
|
|
225
|
-
offset: 56
|
|
226
|
-
q: 'q_example' # String | > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property.
|
|
192
|
+
offset: 56 # Integer | The initial index from which to return the results.
|
|
227
193
|
}
|
|
228
194
|
|
|
229
195
|
begin
|
|
230
|
-
# List
|
|
196
|
+
# List characteristics
|
|
231
197
|
result = api_instance.characteristic_list(opts)
|
|
232
198
|
p result
|
|
233
199
|
rescue PokeApiClient::ApiError => e
|
|
@@ -243,7 +209,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
|
243
209
|
|
|
244
210
|
```ruby
|
|
245
211
|
begin
|
|
246
|
-
# List
|
|
212
|
+
# List characteristics
|
|
247
213
|
data, status_code, headers = api_instance.characteristic_list_with_http_info(opts)
|
|
248
214
|
p status_code # => 2xx
|
|
249
215
|
p headers # => { ... }
|
|
@@ -259,7 +225,6 @@ end
|
|
|
259
225
|
| ---- | ---- | ----------- | ----- |
|
|
260
226
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
261
227
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
262
|
-
| **q** | **String** | > Only available locally and not at [pokeapi.co](https://pokeapi.co/docs/v2) Case-insensitive query applied on the `name` property. | [optional] |
|
|
263
228
|
|
|
264
229
|
### Return type
|
|
265
230
|
|
|
@@ -267,7 +232,7 @@ end
|
|
|
267
232
|
|
|
268
233
|
### Authorization
|
|
269
234
|
|
|
270
|
-
|
|
235
|
+
No authorization required
|
|
271
236
|
|
|
272
237
|
### HTTP request headers
|
|
273
238
|
|
|
@@ -288,20 +253,9 @@ Characteristics indicate which stat contains a Pokémon's highest IV. A Pokémon
|
|
|
288
253
|
```ruby
|
|
289
254
|
require 'time'
|
|
290
255
|
require 'pokeapi_client'
|
|
291
|
-
# setup authorization
|
|
292
|
-
PokeApiClient.configure do |config|
|
|
293
|
-
# Configure HTTP basic authorization: basicAuth
|
|
294
|
-
config.username = 'YOUR USERNAME'
|
|
295
|
-
config.password = 'YOUR PASSWORD'
|
|
296
|
-
|
|
297
|
-
# Configure API key authorization: cookieAuth
|
|
298
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
299
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
300
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
301
|
-
end
|
|
302
256
|
|
|
303
257
|
api_instance = PokeApiClient::PokemonApi.new
|
|
304
|
-
id = '
|
|
258
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
305
259
|
|
|
306
260
|
begin
|
|
307
261
|
# Get characteristic
|
|
@@ -342,7 +296,7 @@ end
|
|
|
342
296
|
|
|
343
297
|
### Authorization
|
|
344
298
|
|
|
345
|
-
|
|
299
|
+
No authorization required
|
|
346
300
|
|
|
347
301
|
### HTTP request headers
|
|
348
302
|
|
|
@@ -363,17 +317,6 @@ Egg Groups are categories which determine which Pokémon are able to interbreed.
|
|
|
363
317
|
```ruby
|
|
364
318
|
require 'time'
|
|
365
319
|
require 'pokeapi_client'
|
|
366
|
-
# setup authorization
|
|
367
|
-
PokeApiClient.configure do |config|
|
|
368
|
-
# Configure HTTP basic authorization: basicAuth
|
|
369
|
-
config.username = 'YOUR USERNAME'
|
|
370
|
-
config.password = 'YOUR PASSWORD'
|
|
371
|
-
|
|
372
|
-
# Configure API key authorization: cookieAuth
|
|
373
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
374
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
375
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
376
|
-
end
|
|
377
320
|
|
|
378
321
|
api_instance = PokeApiClient::PokemonApi.new
|
|
379
322
|
opts = {
|
|
@@ -423,7 +366,7 @@ end
|
|
|
423
366
|
|
|
424
367
|
### Authorization
|
|
425
368
|
|
|
426
|
-
|
|
369
|
+
No authorization required
|
|
427
370
|
|
|
428
371
|
### HTTP request headers
|
|
429
372
|
|
|
@@ -444,20 +387,9 @@ Egg Groups are categories which determine which Pokémon are able to interbreed.
|
|
|
444
387
|
```ruby
|
|
445
388
|
require 'time'
|
|
446
389
|
require 'pokeapi_client'
|
|
447
|
-
# setup authorization
|
|
448
|
-
PokeApiClient.configure do |config|
|
|
449
|
-
# Configure HTTP basic authorization: basicAuth
|
|
450
|
-
config.username = 'YOUR USERNAME'
|
|
451
|
-
config.password = 'YOUR PASSWORD'
|
|
452
|
-
|
|
453
|
-
# Configure API key authorization: cookieAuth
|
|
454
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
455
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
456
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
457
|
-
end
|
|
458
390
|
|
|
459
391
|
api_instance = PokeApiClient::PokemonApi.new
|
|
460
|
-
id = '
|
|
392
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
461
393
|
|
|
462
394
|
begin
|
|
463
395
|
# Get egg group
|
|
@@ -498,7 +430,7 @@ end
|
|
|
498
430
|
|
|
499
431
|
### Authorization
|
|
500
432
|
|
|
501
|
-
|
|
433
|
+
No authorization required
|
|
502
434
|
|
|
503
435
|
### HTTP request headers
|
|
504
436
|
|
|
@@ -519,17 +451,6 @@ Genders were introduced in Generation II for the purposes of breeding Pokémon b
|
|
|
519
451
|
```ruby
|
|
520
452
|
require 'time'
|
|
521
453
|
require 'pokeapi_client'
|
|
522
|
-
# setup authorization
|
|
523
|
-
PokeApiClient.configure do |config|
|
|
524
|
-
# Configure HTTP basic authorization: basicAuth
|
|
525
|
-
config.username = 'YOUR USERNAME'
|
|
526
|
-
config.password = 'YOUR PASSWORD'
|
|
527
|
-
|
|
528
|
-
# Configure API key authorization: cookieAuth
|
|
529
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
530
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
531
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
532
|
-
end
|
|
533
454
|
|
|
534
455
|
api_instance = PokeApiClient::PokemonApi.new
|
|
535
456
|
opts = {
|
|
@@ -579,7 +500,7 @@ end
|
|
|
579
500
|
|
|
580
501
|
### Authorization
|
|
581
502
|
|
|
582
|
-
|
|
503
|
+
No authorization required
|
|
583
504
|
|
|
584
505
|
### HTTP request headers
|
|
585
506
|
|
|
@@ -600,20 +521,9 @@ Genders were introduced in Generation II for the purposes of breeding Pokémon b
|
|
|
600
521
|
```ruby
|
|
601
522
|
require 'time'
|
|
602
523
|
require 'pokeapi_client'
|
|
603
|
-
# setup authorization
|
|
604
|
-
PokeApiClient.configure do |config|
|
|
605
|
-
# Configure HTTP basic authorization: basicAuth
|
|
606
|
-
config.username = 'YOUR USERNAME'
|
|
607
|
-
config.password = 'YOUR PASSWORD'
|
|
608
|
-
|
|
609
|
-
# Configure API key authorization: cookieAuth
|
|
610
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
611
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
612
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
613
|
-
end
|
|
614
524
|
|
|
615
525
|
api_instance = PokeApiClient::PokemonApi.new
|
|
616
|
-
id = '
|
|
526
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
617
527
|
|
|
618
528
|
begin
|
|
619
529
|
# Get gender
|
|
@@ -654,7 +564,7 @@ end
|
|
|
654
564
|
|
|
655
565
|
### Authorization
|
|
656
566
|
|
|
657
|
-
|
|
567
|
+
No authorization required
|
|
658
568
|
|
|
659
569
|
### HTTP request headers
|
|
660
570
|
|
|
@@ -675,17 +585,6 @@ Growth rates are the speed with which Pokémon gain levels through experience. C
|
|
|
675
585
|
```ruby
|
|
676
586
|
require 'time'
|
|
677
587
|
require 'pokeapi_client'
|
|
678
|
-
# setup authorization
|
|
679
|
-
PokeApiClient.configure do |config|
|
|
680
|
-
# Configure HTTP basic authorization: basicAuth
|
|
681
|
-
config.username = 'YOUR USERNAME'
|
|
682
|
-
config.password = 'YOUR PASSWORD'
|
|
683
|
-
|
|
684
|
-
# Configure API key authorization: cookieAuth
|
|
685
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
686
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
687
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
688
|
-
end
|
|
689
588
|
|
|
690
589
|
api_instance = PokeApiClient::PokemonApi.new
|
|
691
590
|
opts = {
|
|
@@ -735,7 +634,7 @@ end
|
|
|
735
634
|
|
|
736
635
|
### Authorization
|
|
737
636
|
|
|
738
|
-
|
|
637
|
+
No authorization required
|
|
739
638
|
|
|
740
639
|
### HTTP request headers
|
|
741
640
|
|
|
@@ -756,20 +655,9 @@ Growth rates are the speed with which Pokémon gain levels through experience. C
|
|
|
756
655
|
```ruby
|
|
757
656
|
require 'time'
|
|
758
657
|
require 'pokeapi_client'
|
|
759
|
-
# setup authorization
|
|
760
|
-
PokeApiClient.configure do |config|
|
|
761
|
-
# Configure HTTP basic authorization: basicAuth
|
|
762
|
-
config.username = 'YOUR USERNAME'
|
|
763
|
-
config.password = 'YOUR PASSWORD'
|
|
764
|
-
|
|
765
|
-
# Configure API key authorization: cookieAuth
|
|
766
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
767
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
768
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
769
|
-
end
|
|
770
658
|
|
|
771
659
|
api_instance = PokeApiClient::PokemonApi.new
|
|
772
|
-
id = '
|
|
660
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
773
661
|
|
|
774
662
|
begin
|
|
775
663
|
# Get growth rate
|
|
@@ -810,7 +698,7 @@ end
|
|
|
810
698
|
|
|
811
699
|
### Authorization
|
|
812
700
|
|
|
813
|
-
|
|
701
|
+
No authorization required
|
|
814
702
|
|
|
815
703
|
### HTTP request headers
|
|
816
704
|
|
|
@@ -831,17 +719,6 @@ Damage classes moves can have, e.g. physical, special, or non-damaging.
|
|
|
831
719
|
```ruby
|
|
832
720
|
require 'time'
|
|
833
721
|
require 'pokeapi_client'
|
|
834
|
-
# setup authorization
|
|
835
|
-
PokeApiClient.configure do |config|
|
|
836
|
-
# Configure HTTP basic authorization: basicAuth
|
|
837
|
-
config.username = 'YOUR USERNAME'
|
|
838
|
-
config.password = 'YOUR PASSWORD'
|
|
839
|
-
|
|
840
|
-
# Configure API key authorization: cookieAuth
|
|
841
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
842
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
843
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
844
|
-
end
|
|
845
722
|
|
|
846
723
|
api_instance = PokeApiClient::PokemonApi.new
|
|
847
724
|
opts = {
|
|
@@ -891,7 +768,7 @@ end
|
|
|
891
768
|
|
|
892
769
|
### Authorization
|
|
893
770
|
|
|
894
|
-
|
|
771
|
+
No authorization required
|
|
895
772
|
|
|
896
773
|
### HTTP request headers
|
|
897
774
|
|
|
@@ -912,20 +789,9 @@ Damage classes moves can have, e.g. physical, special, or non-damaging.
|
|
|
912
789
|
```ruby
|
|
913
790
|
require 'time'
|
|
914
791
|
require 'pokeapi_client'
|
|
915
|
-
# setup authorization
|
|
916
|
-
PokeApiClient.configure do |config|
|
|
917
|
-
# Configure HTTP basic authorization: basicAuth
|
|
918
|
-
config.username = 'YOUR USERNAME'
|
|
919
|
-
config.password = 'YOUR PASSWORD'
|
|
920
|
-
|
|
921
|
-
# Configure API key authorization: cookieAuth
|
|
922
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
923
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
924
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
925
|
-
end
|
|
926
792
|
|
|
927
793
|
api_instance = PokeApiClient::PokemonApi.new
|
|
928
|
-
id = '
|
|
794
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
929
795
|
|
|
930
796
|
begin
|
|
931
797
|
# Get move damage class
|
|
@@ -966,7 +832,7 @@ end
|
|
|
966
832
|
|
|
967
833
|
### Authorization
|
|
968
834
|
|
|
969
|
-
|
|
835
|
+
No authorization required
|
|
970
836
|
|
|
971
837
|
### HTTP request headers
|
|
972
838
|
|
|
@@ -987,17 +853,6 @@ Natures influence how a Pokémon's stats grow. See [Bulbapedia](http://bulbapedi
|
|
|
987
853
|
```ruby
|
|
988
854
|
require 'time'
|
|
989
855
|
require 'pokeapi_client'
|
|
990
|
-
# setup authorization
|
|
991
|
-
PokeApiClient.configure do |config|
|
|
992
|
-
# Configure HTTP basic authorization: basicAuth
|
|
993
|
-
config.username = 'YOUR USERNAME'
|
|
994
|
-
config.password = 'YOUR PASSWORD'
|
|
995
|
-
|
|
996
|
-
# Configure API key authorization: cookieAuth
|
|
997
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
998
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
999
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1000
|
-
end
|
|
1001
856
|
|
|
1002
857
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1003
858
|
opts = {
|
|
@@ -1047,7 +902,7 @@ end
|
|
|
1047
902
|
|
|
1048
903
|
### Authorization
|
|
1049
904
|
|
|
1050
|
-
|
|
905
|
+
No authorization required
|
|
1051
906
|
|
|
1052
907
|
### HTTP request headers
|
|
1053
908
|
|
|
@@ -1068,20 +923,9 @@ Natures influence how a Pokémon's stats grow. See [Bulbapedia](http://bulbapedi
|
|
|
1068
923
|
```ruby
|
|
1069
924
|
require 'time'
|
|
1070
925
|
require 'pokeapi_client'
|
|
1071
|
-
# setup authorization
|
|
1072
|
-
PokeApiClient.configure do |config|
|
|
1073
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1074
|
-
config.username = 'YOUR USERNAME'
|
|
1075
|
-
config.password = 'YOUR PASSWORD'
|
|
1076
|
-
|
|
1077
|
-
# Configure API key authorization: cookieAuth
|
|
1078
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1079
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1080
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1081
|
-
end
|
|
1082
926
|
|
|
1083
927
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1084
|
-
id = '
|
|
928
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
1085
929
|
|
|
1086
930
|
begin
|
|
1087
931
|
# Get nature
|
|
@@ -1122,7 +966,7 @@ end
|
|
|
1122
966
|
|
|
1123
967
|
### Authorization
|
|
1124
968
|
|
|
1125
|
-
|
|
969
|
+
No authorization required
|
|
1126
970
|
|
|
1127
971
|
### HTTP request headers
|
|
1128
972
|
|
|
@@ -1143,17 +987,6 @@ Pokeathlon Stats are different attributes of a Pokémon's performance in Pokéat
|
|
|
1143
987
|
```ruby
|
|
1144
988
|
require 'time'
|
|
1145
989
|
require 'pokeapi_client'
|
|
1146
|
-
# setup authorization
|
|
1147
|
-
PokeApiClient.configure do |config|
|
|
1148
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1149
|
-
config.username = 'YOUR USERNAME'
|
|
1150
|
-
config.password = 'YOUR PASSWORD'
|
|
1151
|
-
|
|
1152
|
-
# Configure API key authorization: cookieAuth
|
|
1153
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1154
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1155
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1156
|
-
end
|
|
1157
990
|
|
|
1158
991
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1159
992
|
opts = {
|
|
@@ -1203,7 +1036,7 @@ end
|
|
|
1203
1036
|
|
|
1204
1037
|
### Authorization
|
|
1205
1038
|
|
|
1206
|
-
|
|
1039
|
+
No authorization required
|
|
1207
1040
|
|
|
1208
1041
|
### HTTP request headers
|
|
1209
1042
|
|
|
@@ -1224,20 +1057,9 @@ Pokeathlon Stats are different attributes of a Pokémon's performance in Pokéat
|
|
|
1224
1057
|
```ruby
|
|
1225
1058
|
require 'time'
|
|
1226
1059
|
require 'pokeapi_client'
|
|
1227
|
-
# setup authorization
|
|
1228
|
-
PokeApiClient.configure do |config|
|
|
1229
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1230
|
-
config.username = 'YOUR USERNAME'
|
|
1231
|
-
config.password = 'YOUR PASSWORD'
|
|
1232
|
-
|
|
1233
|
-
# Configure API key authorization: cookieAuth
|
|
1234
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1235
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1236
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1237
|
-
end
|
|
1238
1060
|
|
|
1239
1061
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1240
|
-
id = '
|
|
1062
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
1241
1063
|
|
|
1242
1064
|
begin
|
|
1243
1065
|
# Get pokeathlon stat
|
|
@@ -1278,7 +1100,7 @@ end
|
|
|
1278
1100
|
|
|
1279
1101
|
### Authorization
|
|
1280
1102
|
|
|
1281
|
-
|
|
1103
|
+
No authorization required
|
|
1282
1104
|
|
|
1283
1105
|
### HTTP request headers
|
|
1284
1106
|
|
|
@@ -1299,17 +1121,6 @@ Colors used for sorting Pokémon in a Pokédex. The color listed in the Pokédex
|
|
|
1299
1121
|
```ruby
|
|
1300
1122
|
require 'time'
|
|
1301
1123
|
require 'pokeapi_client'
|
|
1302
|
-
# setup authorization
|
|
1303
|
-
PokeApiClient.configure do |config|
|
|
1304
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1305
|
-
config.username = 'YOUR USERNAME'
|
|
1306
|
-
config.password = 'YOUR PASSWORD'
|
|
1307
|
-
|
|
1308
|
-
# Configure API key authorization: cookieAuth
|
|
1309
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1310
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1311
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1312
|
-
end
|
|
1313
1124
|
|
|
1314
1125
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1315
1126
|
opts = {
|
|
@@ -1359,7 +1170,7 @@ end
|
|
|
1359
1170
|
|
|
1360
1171
|
### Authorization
|
|
1361
1172
|
|
|
1362
|
-
|
|
1173
|
+
No authorization required
|
|
1363
1174
|
|
|
1364
1175
|
### HTTP request headers
|
|
1365
1176
|
|
|
@@ -1380,20 +1191,9 @@ Colors used for sorting Pokémon in a Pokédex. The color listed in the Pokédex
|
|
|
1380
1191
|
```ruby
|
|
1381
1192
|
require 'time'
|
|
1382
1193
|
require 'pokeapi_client'
|
|
1383
|
-
# setup authorization
|
|
1384
|
-
PokeApiClient.configure do |config|
|
|
1385
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1386
|
-
config.username = 'YOUR USERNAME'
|
|
1387
|
-
config.password = 'YOUR PASSWORD'
|
|
1388
|
-
|
|
1389
|
-
# Configure API key authorization: cookieAuth
|
|
1390
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1391
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1392
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1393
|
-
end
|
|
1394
1194
|
|
|
1395
1195
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1396
|
-
id = '
|
|
1196
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
1397
1197
|
|
|
1398
1198
|
begin
|
|
1399
1199
|
# Get pokemon color
|
|
@@ -1434,7 +1234,7 @@ end
|
|
|
1434
1234
|
|
|
1435
1235
|
### Authorization
|
|
1436
1236
|
|
|
1437
|
-
|
|
1237
|
+
No authorization required
|
|
1438
1238
|
|
|
1439
1239
|
### HTTP request headers
|
|
1440
1240
|
|
|
@@ -1455,17 +1255,6 @@ Some Pokémon may appear in one of multiple, visually different forms. These dif
|
|
|
1455
1255
|
```ruby
|
|
1456
1256
|
require 'time'
|
|
1457
1257
|
require 'pokeapi_client'
|
|
1458
|
-
# setup authorization
|
|
1459
|
-
PokeApiClient.configure do |config|
|
|
1460
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1461
|
-
config.username = 'YOUR USERNAME'
|
|
1462
|
-
config.password = 'YOUR PASSWORD'
|
|
1463
|
-
|
|
1464
|
-
# Configure API key authorization: cookieAuth
|
|
1465
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1466
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1467
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1468
|
-
end
|
|
1469
1258
|
|
|
1470
1259
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1471
1260
|
opts = {
|
|
@@ -1515,7 +1304,7 @@ end
|
|
|
1515
1304
|
|
|
1516
1305
|
### Authorization
|
|
1517
1306
|
|
|
1518
|
-
|
|
1307
|
+
No authorization required
|
|
1519
1308
|
|
|
1520
1309
|
### HTTP request headers
|
|
1521
1310
|
|
|
@@ -1536,20 +1325,9 @@ Some Pokémon may appear in one of multiple, visually different forms. These dif
|
|
|
1536
1325
|
```ruby
|
|
1537
1326
|
require 'time'
|
|
1538
1327
|
require 'pokeapi_client'
|
|
1539
|
-
# setup authorization
|
|
1540
|
-
PokeApiClient.configure do |config|
|
|
1541
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1542
|
-
config.username = 'YOUR USERNAME'
|
|
1543
|
-
config.password = 'YOUR PASSWORD'
|
|
1544
|
-
|
|
1545
|
-
# Configure API key authorization: cookieAuth
|
|
1546
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1547
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1548
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1549
|
-
end
|
|
1550
1328
|
|
|
1551
1329
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1552
|
-
id = '
|
|
1330
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
1553
1331
|
|
|
1554
1332
|
begin
|
|
1555
1333
|
# Get pokemon form
|
|
@@ -1590,7 +1368,7 @@ end
|
|
|
1590
1368
|
|
|
1591
1369
|
### Authorization
|
|
1592
1370
|
|
|
1593
|
-
|
|
1371
|
+
No authorization required
|
|
1594
1372
|
|
|
1595
1373
|
### HTTP request headers
|
|
1596
1374
|
|
|
@@ -1611,17 +1389,6 @@ Habitats are generally different terrain Pokémon can be found in but can also b
|
|
|
1611
1389
|
```ruby
|
|
1612
1390
|
require 'time'
|
|
1613
1391
|
require 'pokeapi_client'
|
|
1614
|
-
# setup authorization
|
|
1615
|
-
PokeApiClient.configure do |config|
|
|
1616
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1617
|
-
config.username = 'YOUR USERNAME'
|
|
1618
|
-
config.password = 'YOUR PASSWORD'
|
|
1619
|
-
|
|
1620
|
-
# Configure API key authorization: cookieAuth
|
|
1621
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1622
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1623
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1624
|
-
end
|
|
1625
1392
|
|
|
1626
1393
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1627
1394
|
opts = {
|
|
@@ -1671,7 +1438,7 @@ end
|
|
|
1671
1438
|
|
|
1672
1439
|
### Authorization
|
|
1673
1440
|
|
|
1674
|
-
|
|
1441
|
+
No authorization required
|
|
1675
1442
|
|
|
1676
1443
|
### HTTP request headers
|
|
1677
1444
|
|
|
@@ -1692,20 +1459,9 @@ Habitats are generally different terrain Pokémon can be found in but can also b
|
|
|
1692
1459
|
```ruby
|
|
1693
1460
|
require 'time'
|
|
1694
1461
|
require 'pokeapi_client'
|
|
1695
|
-
# setup authorization
|
|
1696
|
-
PokeApiClient.configure do |config|
|
|
1697
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1698
|
-
config.username = 'YOUR USERNAME'
|
|
1699
|
-
config.password = 'YOUR PASSWORD'
|
|
1700
|
-
|
|
1701
|
-
# Configure API key authorization: cookieAuth
|
|
1702
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1703
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1704
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1705
|
-
end
|
|
1706
1462
|
|
|
1707
1463
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1708
|
-
id = '
|
|
1464
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
1709
1465
|
|
|
1710
1466
|
begin
|
|
1711
1467
|
# Get pokemom habita
|
|
@@ -1746,7 +1502,7 @@ end
|
|
|
1746
1502
|
|
|
1747
1503
|
### Authorization
|
|
1748
1504
|
|
|
1749
|
-
|
|
1505
|
+
No authorization required
|
|
1750
1506
|
|
|
1751
1507
|
### HTTP request headers
|
|
1752
1508
|
|
|
@@ -1767,17 +1523,6 @@ Pokémon are the creatures that inhabit the world of the Pokémon games. They ca
|
|
|
1767
1523
|
```ruby
|
|
1768
1524
|
require 'time'
|
|
1769
1525
|
require 'pokeapi_client'
|
|
1770
|
-
# setup authorization
|
|
1771
|
-
PokeApiClient.configure do |config|
|
|
1772
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1773
|
-
config.username = 'YOUR USERNAME'
|
|
1774
|
-
config.password = 'YOUR PASSWORD'
|
|
1775
|
-
|
|
1776
|
-
# Configure API key authorization: cookieAuth
|
|
1777
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1778
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1779
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1780
|
-
end
|
|
1781
1526
|
|
|
1782
1527
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1783
1528
|
opts = {
|
|
@@ -1827,7 +1572,7 @@ end
|
|
|
1827
1572
|
|
|
1828
1573
|
### Authorization
|
|
1829
1574
|
|
|
1830
|
-
|
|
1575
|
+
No authorization required
|
|
1831
1576
|
|
|
1832
1577
|
### HTTP request headers
|
|
1833
1578
|
|
|
@@ -1848,20 +1593,9 @@ Pokémon are the creatures that inhabit the world of the Pokémon games. They ca
|
|
|
1848
1593
|
```ruby
|
|
1849
1594
|
require 'time'
|
|
1850
1595
|
require 'pokeapi_client'
|
|
1851
|
-
# setup authorization
|
|
1852
|
-
PokeApiClient.configure do |config|
|
|
1853
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1854
|
-
config.username = 'YOUR USERNAME'
|
|
1855
|
-
config.password = 'YOUR PASSWORD'
|
|
1856
|
-
|
|
1857
|
-
# Configure API key authorization: cookieAuth
|
|
1858
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1859
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1860
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1861
|
-
end
|
|
1862
1596
|
|
|
1863
1597
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1864
|
-
id = '
|
|
1598
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
1865
1599
|
|
|
1866
1600
|
begin
|
|
1867
1601
|
# Get pokemon
|
|
@@ -1902,7 +1636,7 @@ end
|
|
|
1902
1636
|
|
|
1903
1637
|
### Authorization
|
|
1904
1638
|
|
|
1905
|
-
|
|
1639
|
+
No authorization required
|
|
1906
1640
|
|
|
1907
1641
|
### HTTP request headers
|
|
1908
1642
|
|
|
@@ -1923,17 +1657,6 @@ Shapes used for sorting Pokémon in a Pokédex.
|
|
|
1923
1657
|
```ruby
|
|
1924
1658
|
require 'time'
|
|
1925
1659
|
require 'pokeapi_client'
|
|
1926
|
-
# setup authorization
|
|
1927
|
-
PokeApiClient.configure do |config|
|
|
1928
|
-
# Configure HTTP basic authorization: basicAuth
|
|
1929
|
-
config.username = 'YOUR USERNAME'
|
|
1930
|
-
config.password = 'YOUR PASSWORD'
|
|
1931
|
-
|
|
1932
|
-
# Configure API key authorization: cookieAuth
|
|
1933
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
1934
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1935
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
1936
|
-
end
|
|
1937
1660
|
|
|
1938
1661
|
api_instance = PokeApiClient::PokemonApi.new
|
|
1939
1662
|
opts = {
|
|
@@ -1983,7 +1706,7 @@ end
|
|
|
1983
1706
|
|
|
1984
1707
|
### Authorization
|
|
1985
1708
|
|
|
1986
|
-
|
|
1709
|
+
No authorization required
|
|
1987
1710
|
|
|
1988
1711
|
### HTTP request headers
|
|
1989
1712
|
|
|
@@ -2004,20 +1727,9 @@ Shapes used for sorting Pokémon in a Pokédex.
|
|
|
2004
1727
|
```ruby
|
|
2005
1728
|
require 'time'
|
|
2006
1729
|
require 'pokeapi_client'
|
|
2007
|
-
# setup authorization
|
|
2008
|
-
PokeApiClient.configure do |config|
|
|
2009
|
-
# Configure HTTP basic authorization: basicAuth
|
|
2010
|
-
config.username = 'YOUR USERNAME'
|
|
2011
|
-
config.password = 'YOUR PASSWORD'
|
|
2012
|
-
|
|
2013
|
-
# Configure API key authorization: cookieAuth
|
|
2014
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
2015
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2016
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
2017
|
-
end
|
|
2018
1730
|
|
|
2019
1731
|
api_instance = PokeApiClient::PokemonApi.new
|
|
2020
|
-
id = '
|
|
1732
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
2021
1733
|
|
|
2022
1734
|
begin
|
|
2023
1735
|
# Get pokemon shape
|
|
@@ -2058,7 +1770,7 @@ end
|
|
|
2058
1770
|
|
|
2059
1771
|
### Authorization
|
|
2060
1772
|
|
|
2061
|
-
|
|
1773
|
+
No authorization required
|
|
2062
1774
|
|
|
2063
1775
|
### HTTP request headers
|
|
2064
1776
|
|
|
@@ -2079,17 +1791,6 @@ A Pokémon Species forms the basis for at least one Pokémon. Attributes of a Po
|
|
|
2079
1791
|
```ruby
|
|
2080
1792
|
require 'time'
|
|
2081
1793
|
require 'pokeapi_client'
|
|
2082
|
-
# setup authorization
|
|
2083
|
-
PokeApiClient.configure do |config|
|
|
2084
|
-
# Configure HTTP basic authorization: basicAuth
|
|
2085
|
-
config.username = 'YOUR USERNAME'
|
|
2086
|
-
config.password = 'YOUR PASSWORD'
|
|
2087
|
-
|
|
2088
|
-
# Configure API key authorization: cookieAuth
|
|
2089
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
2090
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2091
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
2092
|
-
end
|
|
2093
1794
|
|
|
2094
1795
|
api_instance = PokeApiClient::PokemonApi.new
|
|
2095
1796
|
opts = {
|
|
@@ -2139,7 +1840,7 @@ end
|
|
|
2139
1840
|
|
|
2140
1841
|
### Authorization
|
|
2141
1842
|
|
|
2142
|
-
|
|
1843
|
+
No authorization required
|
|
2143
1844
|
|
|
2144
1845
|
### HTTP request headers
|
|
2145
1846
|
|
|
@@ -2160,20 +1861,9 @@ A Pokémon Species forms the basis for at least one Pokémon. Attributes of a Po
|
|
|
2160
1861
|
```ruby
|
|
2161
1862
|
require 'time'
|
|
2162
1863
|
require 'pokeapi_client'
|
|
2163
|
-
# setup authorization
|
|
2164
|
-
PokeApiClient.configure do |config|
|
|
2165
|
-
# Configure HTTP basic authorization: basicAuth
|
|
2166
|
-
config.username = 'YOUR USERNAME'
|
|
2167
|
-
config.password = 'YOUR PASSWORD'
|
|
2168
|
-
|
|
2169
|
-
# Configure API key authorization: cookieAuth
|
|
2170
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
2171
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2172
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
2173
|
-
end
|
|
2174
1864
|
|
|
2175
1865
|
api_instance = PokeApiClient::PokemonApi.new
|
|
2176
|
-
id = '
|
|
1866
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
2177
1867
|
|
|
2178
1868
|
begin
|
|
2179
1869
|
# Get pokemon species
|
|
@@ -2214,7 +1904,7 @@ end
|
|
|
2214
1904
|
|
|
2215
1905
|
### Authorization
|
|
2216
1906
|
|
|
2217
|
-
|
|
1907
|
+
No authorization required
|
|
2218
1908
|
|
|
2219
1909
|
### HTTP request headers
|
|
2220
1910
|
|
|
@@ -2235,17 +1925,6 @@ Stats determine certain aspects of battles. Each Pokémon has a value for each s
|
|
|
2235
1925
|
```ruby
|
|
2236
1926
|
require 'time'
|
|
2237
1927
|
require 'pokeapi_client'
|
|
2238
|
-
# setup authorization
|
|
2239
|
-
PokeApiClient.configure do |config|
|
|
2240
|
-
# Configure HTTP basic authorization: basicAuth
|
|
2241
|
-
config.username = 'YOUR USERNAME'
|
|
2242
|
-
config.password = 'YOUR PASSWORD'
|
|
2243
|
-
|
|
2244
|
-
# Configure API key authorization: cookieAuth
|
|
2245
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
2246
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2247
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
2248
|
-
end
|
|
2249
1928
|
|
|
2250
1929
|
api_instance = PokeApiClient::PokemonApi.new
|
|
2251
1930
|
opts = {
|
|
@@ -2295,7 +1974,7 @@ end
|
|
|
2295
1974
|
|
|
2296
1975
|
### Authorization
|
|
2297
1976
|
|
|
2298
|
-
|
|
1977
|
+
No authorization required
|
|
2299
1978
|
|
|
2300
1979
|
### HTTP request headers
|
|
2301
1980
|
|
|
@@ -2316,20 +1995,9 @@ Stats determine certain aspects of battles. Each Pokémon has a value for each s
|
|
|
2316
1995
|
```ruby
|
|
2317
1996
|
require 'time'
|
|
2318
1997
|
require 'pokeapi_client'
|
|
2319
|
-
# setup authorization
|
|
2320
|
-
PokeApiClient.configure do |config|
|
|
2321
|
-
# Configure HTTP basic authorization: basicAuth
|
|
2322
|
-
config.username = 'YOUR USERNAME'
|
|
2323
|
-
config.password = 'YOUR PASSWORD'
|
|
2324
|
-
|
|
2325
|
-
# Configure API key authorization: cookieAuth
|
|
2326
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
2327
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2328
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
2329
|
-
end
|
|
2330
1998
|
|
|
2331
1999
|
api_instance = PokeApiClient::PokemonApi.new
|
|
2332
|
-
id = '
|
|
2000
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
2333
2001
|
|
|
2334
2002
|
begin
|
|
2335
2003
|
# Get stat
|
|
@@ -2370,7 +2038,7 @@ end
|
|
|
2370
2038
|
|
|
2371
2039
|
### Authorization
|
|
2372
2040
|
|
|
2373
|
-
|
|
2041
|
+
No authorization required
|
|
2374
2042
|
|
|
2375
2043
|
### HTTP request headers
|
|
2376
2044
|
|
|
@@ -2391,17 +2059,6 @@ Types are properties for Pokémon and their moves. Each type has three propertie
|
|
|
2391
2059
|
```ruby
|
|
2392
2060
|
require 'time'
|
|
2393
2061
|
require 'pokeapi_client'
|
|
2394
|
-
# setup authorization
|
|
2395
|
-
PokeApiClient.configure do |config|
|
|
2396
|
-
# Configure HTTP basic authorization: basicAuth
|
|
2397
|
-
config.username = 'YOUR USERNAME'
|
|
2398
|
-
config.password = 'YOUR PASSWORD'
|
|
2399
|
-
|
|
2400
|
-
# Configure API key authorization: cookieAuth
|
|
2401
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
2402
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2403
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
2404
|
-
end
|
|
2405
2062
|
|
|
2406
2063
|
api_instance = PokeApiClient::PokemonApi.new
|
|
2407
2064
|
opts = {
|
|
@@ -2451,7 +2108,7 @@ end
|
|
|
2451
2108
|
|
|
2452
2109
|
### Authorization
|
|
2453
2110
|
|
|
2454
|
-
|
|
2111
|
+
No authorization required
|
|
2455
2112
|
|
|
2456
2113
|
### HTTP request headers
|
|
2457
2114
|
|
|
@@ -2472,20 +2129,9 @@ Types are properties for Pokémon and their moves. Each type has three propertie
|
|
|
2472
2129
|
```ruby
|
|
2473
2130
|
require 'time'
|
|
2474
2131
|
require 'pokeapi_client'
|
|
2475
|
-
# setup authorization
|
|
2476
|
-
PokeApiClient.configure do |config|
|
|
2477
|
-
# Configure HTTP basic authorization: basicAuth
|
|
2478
|
-
config.username = 'YOUR USERNAME'
|
|
2479
|
-
config.password = 'YOUR PASSWORD'
|
|
2480
|
-
|
|
2481
|
-
# Configure API key authorization: cookieAuth
|
|
2482
|
-
config.api_key['sessionid'] = 'YOUR API KEY'
|
|
2483
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2484
|
-
# config.api_key_prefix['sessionid'] = 'Bearer'
|
|
2485
|
-
end
|
|
2486
2132
|
|
|
2487
2133
|
api_instance = PokeApiClient::PokemonApi.new
|
|
2488
|
-
id = '
|
|
2134
|
+
id = '1' # String | This parameter can be a string or an integer.
|
|
2489
2135
|
|
|
2490
2136
|
begin
|
|
2491
2137
|
# Get types
|
|
@@ -2526,7 +2172,7 @@ end
|
|
|
2526
2172
|
|
|
2527
2173
|
### Authorization
|
|
2528
2174
|
|
|
2529
|
-
|
|
2175
|
+
No authorization required
|
|
2530
2176
|
|
|
2531
2177
|
### HTTP request headers
|
|
2532
2178
|
|