Skip to content
View service.json
"name": "Foo",
"apiVersion": "2012-10-14",
"baseUrl": "",
"description": "Foo is an API that allows you to Baz Bar",
"operations": {
"GetUsers": {
"httpMethod": "GET",
"uri": "/users",
"summary": "Gets a list of users",
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2011 by Ben Noordhuis <>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
View index.php
define('CONS_KEY', 'Application consumer key');
define('CONS_SECRET', 'Application consumer secret');
require_once __DIR__.'/silex.phar';
$app = new Silex\Application();
// register the session extension
$app->register(new Silex\Extension\SessionExtension());
View constructor_test.php
ini_set('display_errors', 1);
class A
function A()
echo "A constructor called\n";
View DateFuTest.php
phpunit DateFuTest.php
require 'PHPUnit/Autoload.php';
Something went wrong with that request. Please try again.