attogram/shared-media-api

View on GitHub
docs/index.rst

Summary

Maintainability
Test Coverage
shared-media-api v0.10
======================

``shared-media-api`` is a MediaWiki Query API wrapper that easily gets Category and File
information into simple PHP arrays.  Fine-tuned for WikiMedia Commmons.

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

.. image:: https://travis-ci.org/attogram/shared-media-api.svg?branch=master
    :target: https://travis-ci.org/attogram/shared-media-api
    :alt: Build Status
.. image:: https://api.codeclimate.com/v1/badges/495c792e36f498fed6ef/maintainability
    :target: https://codeclimate.com/github/attogram/shared-media-api/maintainability
    :alt: Maintainability
.. image:: http://readthedocs.org/projects/shared-media-api/badge/?version=latest
    :target: http://shared-media-api.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

See more :doc:`examples`

.. toctree::

    about
    examples
    category
    media
    page
    base
    other