DEV Community


Webfaction API client in Python

Kamal Mustafa
Python/Django Developer at GetOTP (, fast and simple to integrate OTP API with ready made UI
・1 min read

I've been following Webfaction since they're known as Back in early 2000, it's not easy to find any python web hosting. Textdrive was the first but then after closed down, I was left wandering around the Net looking for a new hosting provider.

Since then, I have been hosting all side projects on Webfaction.

I found cli tools for Webfaction API. The project seem abandoned already so I've just fork it to my github account and start adding few unimplemented command.

After playing around with the API for a while, I realized that we don't really need fancy library to access the API. It pretty straightforward, the API only accept either plain string, boolean or list as parameters and return either a dict or list of dicts. So here a client to the whole APIs in just 106 lines of code -

Discussion (0)