DEV Community

Discussion on: How to build a crypto bot with Python 3 and the Binance API (part 3)

Collapse
 
buscon profile image
buscon

thanks for your tutorials!
one question: do you need a REST API to log the data to the database?

Collapse
 
nicolasbonnici profile image
Nicolas Bonnici

You can directly store on a database, using queries or an ORM layer like SQLAlchemy for instance.

Sending a simple POST request to a REST API is a much faster solution to persist entities.