Acre Topic Lib: get


        <acre:script>
              var topiclib = acre.require('/freebase/apps/topic/lib');
              var topic = topiclib.get(id, options);
        </acre:script>

      

id
id is a freebase id, or an array of ids. In the first case, you will get a dictionary with the data returned by the topic api directly, without the need to dereference the top level key with your freebase id. In the case of multi-get, you will get a dictionary with keys of the topic ids that you provided.

options
options is a dictionary of arguments that mimics directly the arguments of the topic api:
mode: basic or standard (default)
domains: comma separated list of freebase domain ids or all for all.

Example: view | source