I do have the code on GitHub but in a private repo, however, I only used IPFS to host the image for the NFT, I did not used any kind of API to interact with IPFS due to lack of time to implement taking the NFT image from the game itself and then uploading it.
That being said, I can give access to the repo if needed :P