Using the www.ads-software.com API
-
I am trying to use the www.ads-software.com API to be able to check version numbers of plugins found on .org. I have looked at the docs but there is very little information about using the plugin API. I am trying to use version 1.2 because it uses GET requests and I am using CURL to hit the API. But there doesn’t seem to be any reference for what fields are acceptable or how to format the request.
Based on the documentation that was linked to (here, and here) I have tried the following without any luck.
https://api.www.ads-software.com/plugin/info/1.2/?action=plugin_information&request%5Bslug%5D=ninja-forms
https://api.www.ads-software.com/plugins/info/1.2/?action=plugin_information&reqest[slug]=ninja-forms
https://api.www.ads-software.com/plugins/info/1.2/?action=plugin_information&slug=ninja-forms
https://api.www.ads-software.com/plugins/info/1.2/ninja-forms/?action=plugin_information
The closest I got was with this:
https://api.www.ads-software.com/plugins/info/1.2/?action=plugin_information
but I get this as a response:
{"error":"Plugin slug not provided."}
I also looked at the plugins_api() as a reference and tried to reverse engineer how it might work (which is where I got the attempt at the top of the list above from) but am having no luck.
I’m not sure where else to look and have no idea how the formatting for this is meant to work so a bit of help would be greatly appreciated.
Thanks!
- The topic ‘Using the www.ads-software.com API’ is closed to new replies.