'Get a list of all NFTs owned by a solana wallet - Python

Im trying to make a python discord bot which pulls all NFTs owned by a wallet which is input by a user.

Going through the solana.py docs it only seems they support getting token addresses rather than NFT addresses with get_token_accounts_by_owner

i've also seen the blockchain api which can pull all nfts but is very limited with 100 calls for free then its paid for extra

is there anyway I can pull this data straight from the account without using these



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source