Webfaction API client in Python

Kamal Mustafa - Aug 3 '18 - - Dev Community

I've been following Webfaction since they're known as python-hosting.com. 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 - https://gist.github.com/k4ml/5889346#file-webf-py.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player