Manual:Hooks/APIQueryAfterExecute

Details
Called after calling the execute method of an API query module.


 * $module: ApiBase object

Extending
To extend from one particular API module as opposed to all of them, run an  check against the particular class in the   directory. So that, to extend the parse module you would do a check against the class, returning true even if it isn't the module you intend to extend.

Sample code:

Without adding this, all modules of the API will be affected by the extension.

To add additional output to the feed, the result must be pulled from the module. Original output may be modified using the same method.

Sample code:

In effect, what the above sample will do is append a new value onto the data structure foo->bar so that at foo->bar->etc the value will be whatever is contained within. Where in the hierarchy exactly things may go is up to the extension developer however each API feed does have a somewhat unique data hierarchy which it should placed into.