The CardStreams PHP Sample Code by David Losada demonstrates how to interact with the API. Examples show how to build array of scopes, access level on all streams, and access restricted to specific streams.