API shenanigans
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Http
Include
Library
Renderer
Resource
Test/Unit/Http
public
README.mkd
Renderer.php
phpunit.xml

README.mkd

API

Work in progress API framework type thing.

Output formats

JSON

  • Straight json_encode() of response

JSONP

  • json_encode() of response, wrapped in function name

HTML

  • Hash table ->
  • Arrays ->
    • URLs get parsed into s

    XML

    • Hash table keys -> tag name
    • Array -> multiple tags of same name