Skip to content

Instantly share code, notes, and snippets.


dubrod/SADO API

Created Jan 8, 2013
What would you like to do?
Setting Up and API in PHP for those of us awesome developers using SADO.
require_once 'lib/Sado/sado.bootstrap.php';
function getAllUsers(){
$db = &SadoFactory::getInstance();
$users = $db->selectBuilder()
$users = json_encode($users);

This comment has been minimized.

Copy link
Owner Author

@dubrod dubrod commented Jan 8, 2013

This is my first API. I learned the basics from this YouTube Video. Very quick easy script for sharing your Public data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.