├── .gitignore
├── includes
├── bootstrap
│ ├── js
│ │ ├── main.js
│ │ └── vendor
│ │ │ ├── modernizr-2.6.1-respond-1.1.0.min.js
│ │ │ ├── bootstrap.min.js
│ │ │ └── bootstrap.js
│ ├── img
│ │ ├── glyphicons-halflings.png
│ │ └── glyphicons-halflings-white.png
│ ├── css
│ │ ├── main.css
│ │ ├── bootstrap-responsive.min.css
│ │ └── bootstrap-responsive.css
│ ├── footer.html
│ └── header.html
├── .DS_Store
├── functions.php
├── compatibility.php
└── class.db-api.php
├── index.php
├── config.sample.php
├── .htaccess
└── readme.md
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | config.php
--------------------------------------------------------------------------------
/includes/bootstrap/js/main.js:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/includes/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/project-open-data/db-to-api/HEAD/includes/.DS_Store
--------------------------------------------------------------------------------
/includes/bootstrap/img/glyphicons-halflings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/project-open-data/db-to-api/HEAD/includes/bootstrap/img/glyphicons-halflings.png
--------------------------------------------------------------------------------
/includes/bootstrap/img/glyphicons-halflings-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/project-open-data/db-to-api/HEAD/includes/bootstrap/img/glyphicons-halflings-white.png
--------------------------------------------------------------------------------
/includes/bootstrap/css/main.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /* ==========================================================================
4 | Author's custom styles
5 | ========================================================================== */
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 | parse_query();
9 | $db_api->set_db( $query['db'] );
10 | $results = $db_api->query( $query );
11 |
12 | $renderer = 'render_' . $query['format'];
13 | $db_api->$renderer( $results, $query );
14 |
--------------------------------------------------------------------------------
/includes/bootstrap/footer.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |