Skip to content

Serve up your nft collections metadata, quickly and easily with Python and Flask.

Notifications You must be signed in to change notification settings

tamccullough/python-flask-nft-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Remix of the following

Python Metadata API for NFT collectibles

About

A very simple Python Flask app for serving the metadata for a collection of items.

Requirements

Python 3

You'll need a machine with Python 3 installed.

The Google Cloud Storage has been stripped

I have served this through Heroku.

Setup

Create a virtualenv with Python3

run pip install --upgrade pip

run pip install -r requirements.txt

Running and Testing

Run the API with python app.py and hit http://localhost:5000/0

depending on the size of your collection

you would change the number after the last / to go to it

http://localhost:5000/1 or http://localhost:5000/56

Deploying

To deploy on Heroku; use Heroku CLI heroku login -i cd heroku create git init git add . git commit -am 'comments go here' git push heroku master

then hit http://appname.herokuapp.com/0

About

Serve up your nft collections metadata, quickly and easily with Python and Flask.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages