Code Libraries

Working code samples in all the top programming languages are common place in the most successful APIs. Documentation will describe in a general way, how to use an API, but code samples will speak in the specific language of developers.

Make sure and provide a wide variety of code samples, not just what the API development team uses. Consider popular web languages like PHP, Python and Ruby as well as lesser languages like ColdFusion and Perl. Make sure and consider enterprise developers with Java, C# and even VisualBasic. Then consider JavaScript and the popular JS platform NodeJS, which will feed into later building blocks of a healthy embeddable strategy.

Remember your developers may not speak HTTP and REST, but will speak one of these programming languages fluently, so make code samples as inclusive as possible, reaching the widest possible audience.




Return to Building Block Main Page

/buildingblocks/code_libraries.php ?>