As more and more journalists are finding, APIs are a great way to get data for your Web applications and projects.
An API, or application programming interface, enables software programs to communicate with one another. (Chrys Wu wrote a helpful intro here.) To give you a better understanding of how they can help you, I’ve outlined some of the best APIs for finding content and explained how you can use open-source programming tools to glean information from them.
Twitter’s API is very well documented and has a lot of useful functionality. It’s especially useful for journalists who want to search Twitter for a term and either show or parse the results. Let’s take a look at how we can easily do that.
Here is some simple example code that searches Twitter for the term “earthquake” and then creates a bulleted list for the tweets that are found.… Read more