A PeerAssets API that provides data pertaining to Decks and their respective Card and Vote transactions. pAPI uses pypeerassets coupled with flask to provide an API that minimally indexes the blockchain while gathering application specific transactions.
Due to the use of SQLAlchemy DBAPI the following database types are supported:
- PostgreSQL
- MYSQL
- sqlite
- Oracle
- Miscrosoft SQL Server
Currently there is no process to continually sync the database with the subscribed decks. This is being worked on so while testing please load the database with data by running "load.py" in the data directory.
python load.py
python api.py
Defaults to run on port 5000