PokeAPI / pokebase

Python 3 wrapper for Pokéapi v2
BSD 3-Clause "New" or "Revised" License
286 stars 53 forks source link

Newer py version? #48

Closed HumanBot000 closed 8 months ago

HumanBot000 commented 10 months ago

Is it possible to use it at py3.10? I know it says 3.6 but what changed since than?

Naramsim commented 10 months ago

Hi! Could you test the module with the latest python and inform us if it's working?

HumanBot000 commented 10 months ago

I will do that

Alessandro Pezzè @.***> schrieb am Di., 24. Okt. 2023, 12:31:

Hi! Could you test the module with the latest python and inform us if it's working?

— Reply to this email directly, view it on GitHub https://github.com/PokeAPI/pokebase/issues/48#issuecomment-1776945463, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARQKMCWPJ7UBEKM7TSDYMRLYA6KHTAVCNFSM6AAAAAA6MLBKA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZWHE2DKNBWGM . You are receiving this because you authored the thread.Message ID: @.***>

HumanBot000 commented 10 months ago

Hi! Could you test the module with the latest python and inform us if it's working?

@pokemon.subcommand(description="Get a pokemon by name",name_localizations={Locale.en_US: "search", Locale.de: "suchen"})
    async def search(self, interaction, pokemon_name):
        await interaction.response.defer()
        pokemon = pokebase.pokemon(pokemon_name)
        print(pokemon.height)
    ```{}

ERROR:<class 'pokebase.interface.APIResource'> object has no attribute height```

HumanBot000 commented 10 months ago

What did I wrong?

HumanBot000 commented 10 months ago

Hello?

DahanDv commented 8 months ago

@Naramsim, I think we can close this one.