This has a number of examples using the Socrata libraries and tools showing how to use them.