General developer forum

How can I get a module's mod information?

 
Picture of Peter de Jong
How can I get a module's mod information?
 

For example, I have a module that is a Tin Can Launch link. I want to retrieve some information from this Tin Can Launch link, such as the tincanurl. But how can I access this information using the Moodle API? I can't get further than this:

             "id": 821,
                "url": "http://test.dev-a.refineddata.com/mod/connect/view.php?id=821",
                "name": "Nail art ",
                "visible": 1,
                "modicon": "http://test.dev-a.refineddata.com/theme/image.php?theme=essential&component=connect&rev=1425058898&image=icon",
                "modname": "connect",
                "modplural": "Connect Activities",
                "availability": "{\"op\":\"&\",\"c\":[],\"showc\":[]}",
                "indent": 0
Which doesn't offer any more information about the mod...
 
Average of ratings: -