Skip to main content

No project description provided

Project description

pokeapiclient

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 20220523
  • Package version: 1.2.0
  • Generator version: 7.18.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://github.com/oapicf/pokeapi-clients

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/oapicf/pokeapi-clients.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/oapicf/pokeapi-clients.git)

Then import the package:

import pokeapiclient

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import pokeapiclient

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import pokeapiclient
from pokeapiclient.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://pokeapi.co
# See configuration.py for a list of all supported configuration parameters.
configuration = pokeapiclient.Configuration(
    host = "https://pokeapi.co"
)



# Enter a context with an instance of the API client
with pokeapiclient.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pokeapiclient.AbilityApi(api_client)
    limit = 56 # int |  (optional)
    offset = 56 # int |  (optional)

    try:
        api_response = api_instance.ability_list(limit=limit, offset=offset)
        print("The response of AbilityApi->ability_list:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AbilityApi->ability_list: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://pokeapi.co

Class Method HTTP request Description
AbilityApi ability_list GET /api/v2/ability/
AbilityApi ability_read GET /api/v2/ability/{id}/
BerryApi berry_list GET /api/v2/berry/
BerryApi berry_read GET /api/v2/berry/{id}/
BerryFirmnessApi berry_firmness_list GET /api/v2/berry-firmness/
BerryFirmnessApi berry_firmness_read GET /api/v2/berry-firmness/{id}/
BerryFlavorApi berry_flavor_list GET /api/v2/berry-flavor/
BerryFlavorApi berry_flavor_read GET /api/v2/berry-flavor/{id}/
CharacteristicApi characteristic_list GET /api/v2/characteristic/
CharacteristicApi characteristic_read GET /api/v2/characteristic/{id}/
ContestEffectApi contest_effect_list GET /api/v2/contest-effect/
ContestEffectApi contest_effect_read GET /api/v2/contest-effect/{id}/
ContestTypeApi contest_type_list GET /api/v2/contest-type/
ContestTypeApi contest_type_read GET /api/v2/contest-type/{id}/
EggGroupApi egg_group_list GET /api/v2/egg-group/
EggGroupApi egg_group_read GET /api/v2/egg-group/{id}/
EncounterConditionApi encounter_condition_list GET /api/v2/encounter-condition/
EncounterConditionApi encounter_condition_read GET /api/v2/encounter-condition/{id}/
EncounterConditionValueApi encounter_condition_value_list GET /api/v2/encounter-condition-value/
EncounterConditionValueApi encounter_condition_value_read GET /api/v2/encounter-condition-value/{id}/
EncounterMethodApi encounter_method_list GET /api/v2/encounter-method/
EncounterMethodApi encounter_method_read GET /api/v2/encounter-method/{id}/
EvolutionChainApi evolution_chain_list GET /api/v2/evolution-chain/
EvolutionChainApi evolution_chain_read GET /api/v2/evolution-chain/{id}/
EvolutionTriggerApi evolution_trigger_list GET /api/v2/evolution-trigger/
EvolutionTriggerApi evolution_trigger_read GET /api/v2/evolution-trigger/{id}/
GenderApi gender_list GET /api/v2/gender/
GenderApi gender_read GET /api/v2/gender/{id}/
GenerationApi generation_list GET /api/v2/generation/
GenerationApi generation_read GET /api/v2/generation/{id}/
GrowthRateApi growth_rate_list GET /api/v2/growth-rate/
GrowthRateApi growth_rate_read GET /api/v2/growth-rate/{id}/
ItemApi item_list GET /api/v2/item/
ItemApi item_read GET /api/v2/item/{id}/
ItemAttributeApi item_attribute_list GET /api/v2/item-attribute/
ItemAttributeApi item_attribute_read GET /api/v2/item-attribute/{id}/
ItemCategoryApi item_category_list GET /api/v2/item-category/
ItemCategoryApi item_category_read GET /api/v2/item-category/{id}/
ItemFlingEffectApi item_fling_effect_list GET /api/v2/item-fling-effect/
ItemFlingEffectApi item_fling_effect_read GET /api/v2/item-fling-effect/{id}/
ItemPocketApi item_pocket_list GET /api/v2/item-pocket/
ItemPocketApi item_pocket_read GET /api/v2/item-pocket/{id}/
LanguageApi language_list GET /api/v2/language/
LanguageApi language_read GET /api/v2/language/{id}/
LocationApi location_list GET /api/v2/location/
LocationApi location_read GET /api/v2/location/{id}/
LocationAreaApi location_area_list GET /api/v2/location-area/
LocationAreaApi location_area_read GET /api/v2/location-area/{id}/
MachineApi machine_list GET /api/v2/machine/
MachineApi machine_read GET /api/v2/machine/{id}/
MoveApi move_list GET /api/v2/move/
MoveApi move_read GET /api/v2/move/{id}/
MoveAilmentApi move_ailment_list GET /api/v2/move-ailment/
MoveAilmentApi move_ailment_read GET /api/v2/move-ailment/{id}/
MoveBattleStyleApi move_battle_style_list GET /api/v2/move-battle-style/
MoveBattleStyleApi move_battle_style_read GET /api/v2/move-battle-style/{id}/
MoveCategoryApi move_category_list GET /api/v2/move-category/
MoveCategoryApi move_category_read GET /api/v2/move-category/{id}/
MoveDamageClassApi move_damage_class_list GET /api/v2/move-damage-class/
MoveDamageClassApi move_damage_class_read GET /api/v2/move-damage-class/{id}/
MoveLearnMethodApi move_learn_method_list GET /api/v2/move-learn-method/
MoveLearnMethodApi move_learn_method_read GET /api/v2/move-learn-method/{id}/
MoveTargetApi move_target_list GET /api/v2/move-target/
MoveTargetApi move_target_read GET /api/v2/move-target/{id}/
NatureApi nature_list GET /api/v2/nature/
NatureApi nature_read GET /api/v2/nature/{id}/
PalParkAreaApi pal_park_area_list GET /api/v2/pal-park-area/
PalParkAreaApi pal_park_area_read GET /api/v2/pal-park-area/{id}/
PokeathlonStatApi pokeathlon_stat_list GET /api/v2/pokeathlon-stat/
PokeathlonStatApi pokeathlon_stat_read GET /api/v2/pokeathlon-stat/{id}/
PokedexApi pokedex_list GET /api/v2/pokedex/
PokedexApi pokedex_read GET /api/v2/pokedex/{id}/
PokemonApi pokemon_list GET /api/v2/pokemon/
PokemonApi pokemon_read GET /api/v2/pokemon/{id}/
PokemonColorApi pokemon_color_list GET /api/v2/pokemon-color/
PokemonColorApi pokemon_color_read GET /api/v2/pokemon-color/{id}/
PokemonFormApi pokemon_form_list GET /api/v2/pokemon-form/
PokemonFormApi pokemon_form_read GET /api/v2/pokemon-form/{id}/
PokemonHabitatApi pokemon_habitat_list GET /api/v2/pokemon-habitat/
PokemonHabitatApi pokemon_habitat_read GET /api/v2/pokemon-habitat/{id}/
PokemonShapeApi pokemon_shape_list GET /api/v2/pokemon-shape/
PokemonShapeApi pokemon_shape_read GET /api/v2/pokemon-shape/{id}/
PokemonSpeciesApi pokemon_species_list GET /api/v2/pokemon-species/
PokemonSpeciesApi pokemon_species_read GET /api/v2/pokemon-species/{id}/
RegionApi region_list GET /api/v2/region/
RegionApi region_read GET /api/v2/region/{id}/
StatApi stat_list GET /api/v2/stat/
StatApi stat_read GET /api/v2/stat/{id}/
SuperContestEffectApi super_contest_effect_list GET /api/v2/super-contest-effect/
SuperContestEffectApi super_contest_effect_read GET /api/v2/super-contest-effect/{id}/
TypeApi type_list GET /api/v2/type/
TypeApi type_read GET /api/v2/type/{id}/
VersionApi version_list GET /api/v2/version/
VersionApi version_read GET /api/v2/version/{id}/
VersionGroupApi version_group_list GET /api/v2/version-group/
VersionGroupApi version_group_read GET /api/v2/version-group/{id}/

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

blah+oapicf@cliffano.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pokeapiclient-1.2.0.tar.gz (42.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pokeapiclient-1.2.0-py3-none-any.whl (125.0 kB view details)

Uploaded Python 3

File details

Details for the file pokeapiclient-1.2.0.tar.gz.

File metadata

  • Download URL: pokeapiclient-1.2.0.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pokeapiclient-1.2.0.tar.gz
Algorithm Hash digest
SHA256 eab9b12a7327973d7132a6065c2dea3ab4b5ee74ba588d2b525b5983e12c30df
MD5 e6df9c3fabbcc9877206091610d453f5
BLAKE2b-256 6098db0ae0712e9b6755442c1bf1c00d2bd38c3d970b6e0a5fea998668c28c8b

See more details on using hashes here.

File details

Details for the file pokeapiclient-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pokeapiclient-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 125.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pokeapiclient-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fd57b1380f9cce7ca978f8b5e45803bb83af86f0c11438ea5f8fcbb1337f7c6
MD5 e01410046b4969f93af8b994c4dc530f
BLAKE2b-256 d4e82e4a8c885c55b7d52d463e1757749dbdd389625f5e0a914a17f2531d905a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page