First we have to check, how we can get access to the JSON-data the API offers: Every APIs has it’s indivual expecation. With one a simple URL is enough, others expect data in the header or other parts of the http-protocol. You can do all steps by your own – if you need help: When buying the PRO-version basic help is included. For more complex projects I do work on an hourly based rate.
If you know how to use the API you can test it with the plugin by inserting the URL (plus needed additional data for the API):
You can do that by putting the shortcodes on a wordpress-page or post (JSON-Content-Importer plugins installed and active).:
Insert (delete any linefeeds in the shortcode!!)
[jsoncontentimporter debugmode=10 url=URL_FROM_API]test[/jsoncontentimporter]
or with the PRO-version
[jsoncontentimporterpro debugmode=10 url=URL_FROM_API]test[/jsoncontentimporterpro]
In the best case the page/post shows “TEMPLATE” (free Version) and some debug-info.
If this looks ok you have access to the API-data. If not, you might have to add some shortcode attributes defining the
- method available options: (wordpress-get, wordpress-post, curl-get, curl-post, php-get, php-post)
- add some authenatication code (see the API-documentation for that)
- ..or many other settings depending on the expectations of the API
Keep in mind that the 2 plugins use different shortcodes:
Dynamic Shortcode-Parameter? Add 2 plugins OR use PRO-version…