资 源 简 介
The Sunlight Foundation, based in Washington, D.C. is an organization all about creating openness and transparency in government. They utilize the internet to make the information about Congress and the federal government more accessible to citizens.
As part of the Sunlight Foundation, Sunlight Labs provides API for accessing a number of data points. In my conversation with them, they want to continue to make more data available as they can get it.
The Sunlight Labs developer community is rich and robust with Python and Ruby developers and have easy to use development classes built around the Sunlight API. Unfortunately, the more commonly used language, PHP, does not have the same love. Until now.
I’m releasing this set of PHP classes as an anchor point for the PHP community wanting to utilize the data that Sunlight provides, or wanting to explore what data points exist.
The library is made up of a base class, SunlightData, and four child classes. To