API: https://data.fcc.gov/api/license-view/basicSearch/getLicenses?searchValue=Verizon%20Wireless&format=json
Locally Stored: https://api.json-content-importer.com/extra/json/datafccgovgetLicenses.json
Create a new JCI-Template:
- URL: see above
- twig-template:
{% if l.licName matches “/^Cellco/” %}
is a regular expression. Effect: only those items are displayed, where “licName” starts with “Cellco”
status: {{status}}<br> Licenses:<br> {% for l in Licenses.License %} {% if l.licName matches "/^Cellco/" %} {{l.licName}}, {{l.licenseID}}<br> {% endif %} {% endfor %}
In Action:
curlGET failed, http-code: 301