How to Create Custom Fields in Salesforce With API?

I have been working with Salesforce past few weeks for Punchydata—a product that I am developing. It doesn’t take long to realize that it’s not a pleasant API to work with. The documentation is sparse and throughly lacking examples. A good majority of things is only achievable via SOAP and XML. Now with a better understanding of how the API works, I can do the next best thing—blog about it. So, I’ll be writing a few posts on how to do something in Salesforce.