Name: catgraph-jsonp
Owner: Wikimedia Deutschland e.V.
Description: jsonp interface to catgraph
Created: 2015-04-22 19:01:11.0
Updated: 2016-11-16 06:14:42.0
Pushed: 2017-09-21 12:43:45.0
Homepage: null
Size: 27
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a JSONP interface to Catgraph. It is used by the DeepCat Gadget.
Do a JSONP request to http://tools.wmflabs.org/catgraph-jsonp/GRAPHNAME/COMMAND?userparam=PARAM&callback=YOURFUNCTION where COMMAND is the graphcore command to execute on GRAPHNAME. YOURFUNCTION is your JSONP callback. It will be called with a dict with the following fields:
Example: Get the root categories (categories without a parent category) of frwiki. http://tools.wmflabs.org/catgraph-jsonp/frwiki_ns14/list-roots?callback=dostuff
http://tools.wmflabs.org/catgraph-jsonp is configured to return at most 500 result rows, larger results are truncated.
Please file bugs and feature requests on Phabricator.