Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 282 Bytes
<?php
// This page reads in $_GET URL parameters, validates them, determines which
// Pokemon fulfill the parameters, and outputs the result in JSON.
require_once 'config.php';
require_once 'utils.php';
$params = validate_parameters($_GET);
echo json_encode($params->get_list());