On May 1st, 2018, the Deckbrew API will shut down. When I set out to build Deckbrew, there were no REST APIs for Magic cards. While I always wanted to do more with Deckbrew, I could never find the time. Thankfully, Scryfall showed up on the scene about an year ago. They have a dedicated team and an API that is better in every way.
I've opened up the Deckbrew codebase for anyone that is still interested in what the API looked like at the time.