attogram/shared-media-api

View on GitHub
docs/examples.rst

Summary

Maintainability
Test Coverage
Examples
========

Example: get media files in a category
--------------------------------------

.. literalinclude:: examples/get.media.in.category.php
   :language: php
.. literalinclude:: examples/get.media.in.category.txt
   :language: none
   
Example: search categories
--------------------------

.. literalinclude:: examples/search.categories.php
   :language: php
.. literalinclude:: examples/search.categories.txt
   :language: none
   
Example: Search for 1 media file
--------------------------------

.. literalinclude:: examples/search.for.1.media.file.php
   :language: php
.. literalinclude:: examples/search.for.1.media.file.txt
   :language: none