Build API-URL with Use Custom Fields

DEBUG: version of plugin: 3.4.8
DEBUG: parser set via shortcode: twig
DEBUG: selected parser: twig
DEBUG: plugin is using Twig from another plugin: twig-version is 1.24.0
DEBUG: success - Twig loaded, version: 1.24.0
DEBUG: active method: get
DEBUG: dynamic url NOT allowed, therefore ignore pathparam / fileext. Switch on: See plugin-options
DEBUG: customfieldparam: keyaa,keybb
DEBUG: customfieldparam from pageid 866
DEBUG: customfieldparam 0 value: 0
DEBUG: pageid 866 value: api
DEBUG: customfieldparam keyaa value: api
DEBUG: customfieldparam 1 value: 1
DEBUG: pageid 866 value: heroes
DEBUG: customfieldparam keybb value: heroes
DEBUG: JSON-url: https://api.opendota.com/api/heroes
DEBUG: curloptions really used:
DEBUG: Caching is NOT enabled
DEBUG: GET-Header sent to API: ( (timeout: 5) (headers: ) )
DEBUG: load JSON: [{"id":1,"name":"npc_dota_hero_antimage","localized_name":"Anti-Mage","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Escape","Nuker"],"legs":2},{"id":2,"name":"npc_dota_hero_axe","localized_name":"Axe","primary_attr":"str","attack_type":"Melee","roles":["Initiator","Durable","Disabler","Jungler"],"legs":2},{"id":3,"name":"npc_dota_hero_bane","localized_name":"Bane","primary_attr":"int","attack_type":"Ranged","roles":["Support","Disabler","Nuker","Durable"],"legs":4},{"id":4,"name":"npc_dota_hero_bloodseeker","localized_name":"Bloodseeker","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Disabler","Jungler","Nuker","Initiator"],"legs":2},{"id":5,"name":"npc_dota_hero_crystal_maiden","localized_name":"Crystal Maiden","primary_attr":"int","attack_type":"Ranged","roles":["Support","Disabler","Nuker","Jungler"],"legs":2},{"id":6,"name":"npc_dota_hero_drow_ranger","localized_name":"Drow Ranger","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Disabler","Pusher"],"legs":2},{"id":7,"name":"npc_dota_hero_earthshaker","localized_name":"Earthshaker","primary_attr":"str","attack_type":"Melee","roles":["Support","Initiator","Disabler","Nuker"],"legs":2},{"id":8,"name":"npc_dota_hero_juggernaut","localized_name":"Juggernaut","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Pusher","Escape"],"legs":2},{"id":9,"name":"npc_dota_hero_mirana","localized_name":"Mirana","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Support","Escape","Nuker","Disabler"],"legs":2},{"id":10,"name":"npc_dota_hero_morphling","localized_name":"Morphling","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Escape","Durable","Nuker","Disabler"],"legs":0},{"id":11,"name":"npc_dota_hero_nevermore","localized_name":"Shadow Fiend","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Nuker"],"legs":0},{"id":12,"name":"npc_dota_hero_phantom_lancer","localized_name":"Phantom Lancer","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Escape","Pusher","Nuker"],"legs":2},{"id":13,"name":"npc_dota_hero_puck","localized_name":"Puck","primary_attr":"int","attack_type":"Ranged","roles":["Initiator","Disabler","Escape","Nuker"],"legs":2},{"id":14,"name":"npc_dota_hero_pudge","localized_name":"Pudge","primary_attr":"str","attack_type":"Melee","roles":["Disabler","Initiator","Durable","Nuker"],"legs":2},{"id":15,"name":"npc_dota_hero_razor","localized_name":"Razor","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Durable","Nuker","Pusher"],"legs":0},{"id":16,"name":"npc_dota_hero_sand_king","localized_name":"Sand King","primary_attr":"str","attack_type":"Melee","roles":["Initiator","Disabler","Support","Nuker","Escape","Jungler"],"legs":6},{"id":17,"name":"npc_dota_hero_storm_spirit","localized_name":"Storm Spirit","primary_attr":"int","attack_type":"Ranged","roles":["Carry","Escape","Nuker","Initiator","Disabler"],"legs":2},{"id":18,"name":"npc_dota_hero_sven","localized_name":"Sven","primary_attr":"str","attack_type":"Melee","roles":["Carry","Disabler","Initiator","Durable","Nuker"],"legs":2},{"id":19,"name":"npc_dota_hero_tiny","localized_name":"Tiny","primary_attr":"str","attack_type":"Melee","roles":["Carry","Nuker","Pusher","Initiator","Durable","Disabler"],"legs":2},{"id":20,"name":"npc_dota_hero_vengefulspirit","localized_name":"Vengeful Spirit","primary_attr":"agi","attack_type":"Ranged","roles":["Support","Initiator","Disabler","Nuker","Escape"],"legs":2},{"id":21,"name":"npc_dota_hero_windrunner","localized_name":"Windranger","primary_attr":"int","attack_type":"Ranged","roles":["Carry","Support","Disabler","Escape","Nuker"],"legs":2},{"id":22,"name":"npc_dota_hero_zuus","localized_name":"Zeus","primary_attr":"int","attack_type":"Ranged","roles":["Nuker"],"legs":2},{"id":23,"name":"npc_dota_hero_kunkka","localized_name":"Kunkka","primary_attr":"str","attack_type":"Melee","roles":["Carry","Support","Disabler","Initiator","Durable","Nuker"],"legs":2},{"id":25,"name":"npc_dota_hero_lina","localized_name":"Lina","primary_attr":"int","attack_type":"Ranged","roles":["Support","Carry","Nuker","Disabler"],"legs":2},{"id":26,"name":"npc_dota_hero_lion","localized_name":"Lion","primary_attr":"int","attack_type":"Ranged","roles":["Support","Disabler","Nuker","Initiator"],"legs":2},{"id":27,"name":"npc_dota_hero_shadow_shaman","localized_name":"Shadow Shaman","primary_attr":"int","attack_type":"Ranged","roles":["Support","Pusher","Disabler","Nuker","Initiator"],"legs":2},{"id":28,"name":"npc_dota_hero_slardar","localized_name":"Slardar","primary_attr":"str","attack_type":"Melee","roles":["Carry","Durable","Initiator","Disabler","Escape"],"legs":0},{"id":29,"name":"npc_dota_hero_tidehunter","localized_name":"Tidehunter","primary_attr":"str","attack_type":"Melee","roles":["Initiator","Durable","Disabler","Nuker"],"legs":2},{"id":30,"name":"npc_dota_hero_witch_doctor","localized_name":"Witch Doctor","primary_attr":"int","attack_type":"Ranged","roles":["Support","Nuker","Disabler"],"legs":2},{"id":31,"name":"npc_dota_hero_lich","localized_name":"Lich","primary_attr":"int","attack_type":"Ranged","roles":["Support","Nuker"],"legs":2},{"id":32,"name":"npc_dota_hero_riki","localized_name":"Riki","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Escape","Disabler"],"legs":2},{"id":33,"name":"npc_dota_hero_enigma","localized_name":"Enigma","primary_attr":"int","attack_type":"Ranged","roles":["Disabler","Jungler","Initiator","Pusher"],"legs":0},{"id":34,"name":"npc_dota_hero_tinker","localized_name":"Tinker","primary_attr":"int","attack_type":"Ranged","roles":["Carry","Nuker","Pusher"],"legs":2},{"id":35,"name":"npc_dota_hero_sniper","localized_name":"Sniper","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Nuker"],"legs":2},{"id":36,"name":"npc_dota_hero_necrolyte","localized_name":"Necrophos","primary_attr":"int","attack_type":"Ranged","roles":["Carry","Nuker","Durable","Disabler"],"legs":2},{"id":37,"name":"npc_dota_hero_warlock","localized_name":"Warlock","primary_attr":"int","attack_type":"Ranged","roles":["Support","Initiator","Disabler"],"legs":2},{"id":38,"name":"npc_dota_hero_beastmaster","localized_name":"Beastmaster","primary_attr":"str","attack_type":"Melee","roles":["Initiator","Disabler","Durable","Nuker"],"legs":2},{"id":39,"name":"npc_dota_hero_queenofpain","localized_name":"Queen of Pain","primary_attr":"int","attack_type":"Ranged","roles":["Carry","Nuker","Escape"],"legs":2},{"id":40,"name":"npc_dota_hero_venomancer","localized_name":"Venomancer","primary_attr":"agi","attack_type":"Ranged","roles":["Support","Nuker","Initiator","Pusher","Disabler"],"legs":0},{"id":41,"name":"npc_dota_hero_faceless_void","localized_name":"Faceless Void","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Initiator","Disabler","Escape","Durable"],"legs":2},{"id":42,"name":"npc_dota_hero_skeleton_king","localized_name":"Wraith King","primary_attr":"str","attack_type":"Melee","roles":["Carry","Support","Durable","Disabler","Initiator"],"legs":2},{"id":43,"name":"npc_dota_hero_death_prophet","localized_name":"Death Prophet","primary_attr":"int","attack_type":"Ranged","roles":["Carry","Pusher","Nuker","Disabler"],"legs":2},{"id":44,"name":"npc_dota_hero_phantom_assassin","localized_name":"Phantom Assassin","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Escape"],"legs":2},{"id":45,"name":"npc_dota_hero_pugna","localized_name":"Pugna","primary_attr":"int","attack_type":"Ranged","roles":["Nuker","Pusher"],"legs":2},{"id":46,"name":"npc_dota_hero_templar_assassin","localized_name":"Templar Assassin","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Escape"],"legs":2},{"id":47,"name":"npc_dota_hero_viper","localized_name":"Viper","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Durable","Initiator","Disabler"],"legs":0},{"id":48,"name":"npc_dota_hero_luna","localized_name":"Luna","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Nuker","Pusher"],"legs":2},{"id":49,"name":"npc_dota_hero_dragon_knight","localized_name":"Dragon Knight","primary_attr":"str","attack_type":"Melee","roles":["Carry","Pusher","Durable","Disabler","Initiator","Nuker"],"legs":2},{"id":50,"name":"npc_dota_hero_dazzle","localized_name":"Dazzle","primary_attr":"int","attack_type":"Ranged","roles":["Support","Nuker","Disabler"],"legs":2},{"id":51,"name":"npc_dota_hero_rattletrap","localized_name":"Clockwerk","primary_attr":"str","attack_type":"Melee","roles":["Initiator","Disabler","Durable","Nuker"],"legs":2},{"id":52,"name":"npc_dota_hero_leshrac","localized_name":"Leshrac","primary_attr":"int","attack_type":"Ranged","roles":["Carry","Support","Nuker","Pusher","Disabler"],"legs":4},{"id":53,"name":"npc_dota_hero_furion","localized_name":"Nature's Prophet","primary_attr":"int","attack_type":"Ranged","roles":["Carry","Jungler","Pusher","Escape","Nuker"],"legs":2},{"id":54,"name":"npc_dota_hero_life_stealer","localized_name":"Lifestealer","primary_attr":"str","attack_type":"Melee","roles":["Carry","Durable","Jungler","Escape","Disabler"],"legs":2},{"id":55,"name":"npc_dota_hero_dark_seer","localized_name":"Dark Seer","primary_attr":"int","attack_type":"Melee","roles":["Initiator","Jungler","Escape","Disabler"],"legs":2},{"id":56,"name":"npc_dota_hero_clinkz","localized_name":"Clinkz","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Escape","Pusher"],"legs":2},{"id":57,"name":"npc_dota_hero_omniknight","localized_name":"Omniknight","primary_attr":"str","attack_type":"Melee","roles":["Support","Durable","Nuker"],"legs":2},{"id":58,"name":"npc_dota_hero_enchantress","localized_name":"Enchantress","primary_attr":"int","attack_type":"Ranged","roles":["Support","Jungler","Pusher","Durable","Disabler"],"legs":4},{"id":59,"name":"npc_dota_hero_huskar","localized_name":"Huskar","primary_attr":"str","attack_type":"Ranged","roles":["Carry","Durable","Initiator"],"legs":2},{"id":60,"name":"npc_dota_hero_night_stalker","localized_name":"Night Stalker","primary_attr":"str","attack_type":"Melee","roles":["Carry","Initiator","Durable","Disabler","Nuker"],"legs":2},{"id":61,"name":"npc_dota_hero_broodmother","localized_name":"Broodmother","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Pusher","Escape","Nuker"],"legs":8},{"id":62,"name":"npc_dota_hero_bounty_hunter","localized_name":"Bounty Hunter","primary_attr":"agi","attack_type":"Melee","roles":["Escape","Nuker"],"legs":2},{"id":63,"name":"npc_dota_hero_weaver","localized_name":"Weaver","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Escape"],"legs":4},{"id":64,"name":"npc_dota_hero_jakiro","localized_name":"Jakiro","primary_attr":"int","attack_type":"Ranged","roles":["Support","Nuker","Pusher","Disabler"],"legs":2},{"id":65,"name":"npc_dota_hero_batrider","localized_name":"Batrider","primary_attr":"int","attack_type":"Ranged","roles":["Initiator","Jungler","Disabler","Escape"],"legs":2},{"id":66,"name":"npc_dota_hero_chen","localized_name":"Chen","primary_attr":"int","attack_type":"Ranged","roles":["Support","Jungler","Pusher"],"legs":2},{"id":67,"name":"npc_dota_hero_spectre","localized_name":"Spectre","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Durable","Escape"],"legs":0},{"id":68,"name":"npc_dota_hero_ancient_apparition","localized_name":"Ancient Apparition","primary_attr":"int","attack_type":"Ranged","roles":["Support","Disabler","Nuker"],"legs":2},{"id":69,"name":"npc_dota_hero_doom_bringer","localized_name":"Doom","primary_attr":"str","attack_type":"Melee","roles":["Carry","Disabler","Initiator","Durable","Nuker"],"legs":2},{"id":70,"name":"npc_dota_hero_ursa","localized_name":"Ursa","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Jungler","Durable","Disabler"],"legs":2},{"id":71,"name":"npc_dota_hero_spirit_breaker","localized_name":"Spirit Breaker","primary_attr":"str","attack_type":"Melee","roles":["Carry","Initiator","Disabler","Durable","Escape"],"legs":2},{"id":72,"name":"npc_dota_hero_gyrocopter","localized_name":"Gyrocopter","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Nuker","Disabler"],"legs":2},{"id":73,"name":"npc_dota_hero_alchemist","localized_name":"Alchemist","primary_attr":"str","attack_type":"Melee","roles":["Carry","Support","Durable","Disabler","Initiator","Nuker"],"legs":2},{"id":74,"name":"npc_dota_hero_invoker","localized_name":"Invoker","primary_attr":"int","attack_type":"Ranged","roles":["Carry","Nuker","Disabler","Escape","Pusher"],"legs":2},{"id":75,"name":"npc_dota_hero_silencer","localized_name":"Silencer","primary_attr":"int","attack_type":"Ranged","roles":["Carry","Support","Disabler","Initiator","Nuker"],"legs":2},{"id":76,"name":"npc_dota_hero_obsidian_destroyer","localized_name":"Outworld Devourer","primary_attr":"int","attack_type":"Ranged","roles":["Carry","Nuker","Disabler"],"legs":4},{"id":77,"name":"npc_dota_hero_lycan","localized_name":"Lycan","primary_attr":"str","attack_type":"Melee","roles":["Carry","Pusher","Jungler","Durable","Escape"],"legs":2},{"id":78,"name":"npc_dota_hero_brewmaster","localized_name":"Brewmaster","primary_attr":"str","attack_type":"Melee","roles":["Carry","Initiator","Durable","Disabler","Nuker"],"legs":2},{"id":79,"name":"npc_dota_hero_shadow_demon","localized_name":"Shadow Demon","primary_attr":"int","attack_type":"Ranged","roles":["Support","Disabler","Initiator","Nuker"],"legs":2},{"id":80,"name":"npc_dota_hero_lone_druid","localized_name":"Lone Druid","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Pusher","Jungler","Durable"],"legs":2},{"id":81,"name":"npc_dota_hero_chaos_knight","localized_name":"Chaos Knight","primary_attr":"str","attack_type":"Melee","roles":["Carry","Disabler","Durable","Pusher","Initiator"],"legs":2},{"id":82,"name":"npc_dota_hero_meepo","localized_name":"Meepo","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Escape","Nuker","Disabler","Initiator","Pusher"],"legs":2},{"id":83,"name":"npc_dota_hero_treant","localized_name":"Treant Protector","primary_attr":"str","attack_type":"Melee","roles":["Support","Initiator","Durable","Disabler","Escape"],"legs":2},{"id":84,"name":"npc_dota_hero_ogre_magi","localized_name":"Ogre Magi","primary_attr":"int","attack_type":"Melee","roles":["Support","Nuker","Disabler","Durable","Initiator"],"legs":2},{"id":85,"name":"npc_dota_hero_undying","localized_name":"Undying","primary_attr":"str","attack_type":"Melee","roles":["Support","Durable","Disabler","Nuker"],"legs":2},{"id":86,"name":"npc_dota_hero_rubick","localized_name":"Rubick","primary_attr":"int","attack_type":"Ranged","roles":["Support","Disabler","Nuker"],"legs":2},{"id":87,"name":"npc_dota_hero_disruptor","localized_name":"Disruptor","primary_attr":"int","attack_type":"Ranged","roles":["Support","Disabler","Nuker","Initiator"],"legs":2},{"id":88,"name":"npc_dota_hero_nyx_assassin","localized_name":"Nyx Assassin","primary_attr":"agi","attack_type":"Melee","roles":["Disabler","Nuker","Initiator","Escape"],"legs":6},{"id":89,"name":"npc_dota_hero_naga_siren","localized_name":"Naga Siren","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Support","Pusher","Disabler","Initiator","Escape"],"legs":0},{"id":90,"name":"npc_dota_hero_keeper_of_the_light","localized_name":"Keeper of the Light","primary_attr":"int","attack_type":"Ranged","roles":["Support","Nuker","Disabler","Jungler"],"legs":2},{"id":91,"name":"npc_dota_hero_wisp","localized_name":"Io","primary_attr":"str","attack_type":"Ranged","roles":["Support","Escape","Nuker"],"legs":0},{"id":92,"name":"npc_dota_hero_visage","localized_name":"Visage","primary_attr":"int","attack_type":"Ranged","roles":["Support","Nuker","Durable","Disabler","Pusher"],"legs":2},{"id":93,"name":"npc_dota_hero_slark","localized_name":"Slark","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Escape","Disabler","Nuker"],"legs":2},{"id":94,"name":"npc_dota_hero_medusa","localized_name":"Medusa","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Disabler","Durable"],"legs":0},{"id":95,"name":"npc_dota_hero_troll_warlord","localized_name":"Troll Warlord","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Pusher","Disabler","Durable"],"legs":2},{"id":96,"name":"npc_dota_hero_centaur","localized_name":"Centaur Warrunner","primary_attr":"str","attack_type":"Melee","roles":["Durable","Initiator","Disabler","Nuker","Escape"],"legs":4},{"id":97,"name":"npc_dota_hero_magnataur","localized_name":"Magnus","primary_attr":"str","attack_type":"Melee","roles":["Initiator","Disabler","Nuker","Escape"],"legs":4},{"id":98,"name":"npc_dota_hero_shredder","localized_name":"Timbersaw","primary_attr":"str","attack_type":"Melee","roles":["Nuker","Durable","Escape"],"legs":2},{"id":99,"name":"npc_dota_hero_bristleback","localized_name":"Bristleback","primary_attr":"str","attack_type":"Melee","roles":["Carry","Durable","Initiator","Nuker"],"legs":2},{"id":100,"name":"npc_dota_hero_tusk","localized_name":"Tusk","primary_attr":"str","attack_type":"Melee","roles":["Initiator","Disabler","Nuker"],"legs":2},{"id":101,"name":"npc_dota_hero_skywrath_mage","localized_name":"Skywrath Mage","primary_attr":"int","attack_type":"Ranged","roles":["Support","Nuker","Disabler"],"legs":2},{"id":102,"name":"npc_dota_hero_abaddon","localized_name":"Abaddon","primary_attr":"str","attack_type":"Melee","roles":["Support","Carry","Durable"],"legs":2},{"id":103,"name":"npc_dota_hero_elder_titan","localized_name":"Elder Titan","primary_attr":"str","attack_type":"Melee","roles":["Initiator","Disabler","Nuker","Durable"],"legs":2},{"id":104,"name":"npc_dota_hero_legion_commander","localized_name":"Legion Commander","primary_attr":"str","attack_type":"Melee","roles":["Carry","Disabler","Initiator","Durable","Nuker"],"legs":2},{"id":105,"name":"npc_dota_hero_techies","localized_name":"Techies","primary_attr":"int","attack_type":"Ranged","roles":["Nuker","Disabler"],"legs":6},{"id":106,"name":"npc_dota_hero_ember_spirit","localized_name":"Ember Spirit","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Escape","Nuker","Disabler","Initiator"],"legs":2},{"id":107,"name":"npc_dota_hero_earth_spirit","localized_name":"Earth Spirit","primary_attr":"str","attack_type":"Melee","roles":["Nuker","Escape","Disabler","Initiator","Durable"],"legs":2},{"id":108,"name":"npc_dota_hero_abyssal_underlord","localized_name":"Underlord","primary_attr":"str","attack_type":"Melee","roles":["Support","Nuker","Disabler","Durable","Escape"],"legs":2},{"id":109,"name":"npc_dota_hero_terrorblade","localized_name":"Terrorblade","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Pusher","Nuker"],"legs":2},{"id":110,"name":"npc_dota_hero_phoenix","localized_name":"Phoenix","primary_attr":"str","attack_type":"Ranged","roles":["Support","Nuker","Initiator","Escape","Disabler"],"legs":2},{"id":111,"name":"npc_dota_hero_oracle","localized_name":"Oracle","primary_attr":"int","attack_type":"Ranged","roles":["Support","Nuker","Disabler","Escape"],"legs":2},{"id":112,"name":"npc_dota_hero_winter_wyvern","localized_name":"Winter Wyvern","primary_attr":"int","attack_type":"Ranged","roles":["Support","Disabler","Nuker"],"legs":2},{"id":113,"name":"npc_dota_hero_arc_warden","localized_name":"Arc Warden","primary_attr":"agi","attack_type":"Ranged","roles":["Carry","Escape","Nuker"],"legs":2},{"id":114,"name":"npc_dota_hero_monkey_king","localized_name":"Monkey King","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Escape","Disabler","Initiator"],"legs":2},{"id":119,"name":"npc_dota_hero_dark_willow","localized_name":"Dark Willow","primary_attr":"int","attack_type":"Ranged","roles":["Support","Nuker","Disabler","Escape"],"legs":2},{"id":120,"name":"npc_dota_hero_pangolier","localized_name":"Pangolier","primary_attr":"agi","attack_type":"Melee","roles":["Carry","Nuker","Disabler","Durable","Escape","Initiator"],"legs":2}]
DEBUG: twig: wpautop not used
DEBUG: twig-template: <br>{% for item in _context %} {{item.id}} {{item.name}} {{item.localized_name}}<br> {% endfor %}
DEBUG: twig: eval shortcode in template AFTER inserting JSON
DEBUG: twig result: <br>1 npc_dota_hero_antimage Anti-Mage<br> 2 npc_dota_hero_axe Axe<br> 3 npc_dota_hero_bane Bane<br> 4 npc_dota_hero_bloodseeker Bloodseeker<br> 5 npc_dota_hero_crystal_maiden Crystal Maiden<br> 6 npc_dota_hero_drow_ranger Drow Ranger<br> 7 npc_dota_hero_earthshaker Earthshaker<br> 8 npc_dota_hero_juggernaut Juggernaut<br> 9 npc_dota_hero_mirana Mirana<br> 10 npc_dota_hero_morphling Morphling<br> 11 npc_dota_hero_nevermore Shadow Fiend<br> 12 npc_dota_hero_phantom_lancer Phantom Lancer<br> 13 npc_dota_hero_puck Puck<br> 14 npc_dota_hero_pudge Pudge<br> 15 npc_dota_hero_razor Razor<br> 16 npc_dota_hero_sand_king Sand King<br> 17 npc_dota_hero_storm_spirit Storm Spirit<br> 18 npc_dota_hero_sven Sven<br> 19 npc_dota_hero_tiny Tiny<br> 20 npc_dota_hero_vengefulspirit Vengeful Spirit<br> 21 npc_dota_hero_windrunner Windranger<br> 22 npc_dota_hero_zuus Zeus<br> 23 npc_dota_hero_kunkka Kunkka<br> 25 npc_dota_hero_lina Lina<br> 26 npc_dota_hero_lion Lion<br> 27 npc_dota_hero_shadow_shaman Shadow Shaman<br> 28 npc_dota_hero_slardar Slardar<br> 29 npc_dota_hero_tidehunter Tidehunter<br> 30 npc_dota_hero_witch_doctor Witch Doctor<br> 31 npc_dota_hero_lich Lich<br> 32 npc_dota_hero_riki Riki<br> 33 npc_dota_hero_enigma Enigma<br> 34 npc_dota_hero_tinker Tinker<br> 35 npc_dota_hero_sniper Sniper<br> 36 npc_dota_hero_necrolyte Necrophos<br> 37 npc_dota_hero_warlock Warlock<br> 38 npc_dota_hero_beastmaster Beastmaster<br> 39 npc_dota_hero_queenofpain Queen of Pain<br> 40 npc_dota_hero_venomancer Venomancer<br> 41 npc_dota_hero_faceless_void Faceless Void<br> 42 npc_dota_hero_skeleton_king Wraith King<br> 43 npc_dota_hero_death_prophet Death Prophet<br> 44 npc_dota_hero_phantom_assassin Phantom Assassin<br> 45 npc_dota_hero_pugna Pugna<br> 46 npc_dota_hero_templar_assassin Templar Assassin<br> 47 npc_dota_hero_viper Viper<br> 48 npc_dota_hero_luna Luna<br> 49 npc_dota_hero_dragon_knight Dragon Knight<br> 50 npc_dota_hero_dazzle Dazzle<br> 51 npc_dota_hero_rattletrap Clockwerk<br> 52 npc_dota_hero_leshrac Leshrac<br> 53 npc_dota_hero_furion Nature's Prophet<br> 54 npc_dota_hero_life_stealer Lifestealer<br> 55 npc_dota_hero_dark_seer Dark Seer<br> 56 npc_dota_hero_clinkz Clinkz<br> 57 npc_dota_hero_omniknight Omniknight<br> 58 npc_dota_hero_enchantress Enchantress<br> 59 npc_dota_hero_huskar Huskar<br> 60 npc_dota_hero_night_stalker Night Stalker<br> 61 npc_dota_hero_broodmother Broodmother<br> 62 npc_dota_hero_bounty_hunter Bounty Hunter<br> 63 npc_dota_hero_weaver Weaver<br> 64 npc_dota_hero_jakiro Jakiro<br> 65 npc_dota_hero_batrider Batrider<br> 66 npc_dota_hero_chen Chen<br> 67 npc_dota_hero_spectre Spectre<br> 68 npc_dota_hero_ancient_apparition Ancient Apparition<br> 69 npc_dota_hero_doom_bringer Doom<br> 70 npc_dota_hero_ursa Ursa<br> 71 npc_dota_hero_spirit_breaker Spirit Breaker<br> 72 npc_dota_hero_gyrocopter Gyrocopter<br> 73 npc_dota_hero_alchemist Alchemist<br> 74 npc_dota_hero_invoker Invoker<br> 75 npc_dota_hero_silencer Silencer<br> 76 npc_dota_hero_obsidian_destroyer Outworld Devourer<br> 77 npc_dota_hero_lycan Lycan<br> 78 npc_dota_hero_brewmaster Brewmaster<br> 79 npc_dota_hero_shadow_demon Shadow Demon<br> 80 npc_dota_hero_lone_druid Lone Druid<br> 81 npc_dota_hero_chaos_knight Chaos Knight<br> 82 npc_dota_hero_meepo Meepo<br> 83 npc_dota_hero_treant Treant Protector<br> 84 npc_dota_hero_ogre_magi Ogre Magi<br> 85 npc_dota_hero_undying Undying<br> 86 npc_dota_hero_rubick Rubick<br> 87 npc_dota_hero_disruptor Disruptor<br> 88 npc_dota_hero_nyx_assassin Nyx Assassin<br> 89 npc_dota_hero_naga_siren Naga Siren<br> 90 npc_dota_hero_keeper_of_the_light Keeper of the Light<br> 91 npc_dota_hero_wisp Io<br> 92 npc_dota_hero_visage Visage<br> 93 npc_dota_hero_slark Slark<br> 94 npc_dota_hero_medusa Medusa<br> 95 npc_dota_hero_troll_warlord Troll Warlord<br> 96 npc_dota_hero_centaur Centaur Warrunner<br> 97 npc_dota_hero_magnataur Magnus<br> 98 npc_dota_hero_shredder Timbersaw<br> 99 npc_dota_hero_bristleback Bristleback<br> 100 npc_dota_hero_tusk Tusk<br> 101 npc_dota_hero_skywrath_mage Skywrath Mage<br> 102 npc_dota_hero_abaddon Abaddon<br> 103 npc_dota_hero_elder_titan Elder Titan<br> 104 npc_dota_hero_legion_commander Legion Commander<br> 105 npc_dota_hero_techies Techies<br> 106 npc_dota_hero_ember_spirit Ember Spirit<br> 107 npc_dota_hero_earth_spirit Earth Spirit<br> 108 npc_dota_hero_abyssal_underlord Underlord<br> 109 npc_dota_hero_terrorblade Terrorblade<br> 110 npc_dota_hero_phoenix Phoenix<br> 111 npc_dota_hero_oracle Oracle<br> 112 npc_dota_hero_winter_wyvern Winter Wyvern<br> 113 npc_dota_hero_arc_warden Arc Warden<br> 114 npc_dota_hero_monkey_king Monkey King<br> 119 npc_dota_hero_dark_willow Dark Willow<br> 120 npc_dota_hero_pangolier Pangolier<br> <br> <br>
If the Content of a WordPress-Page should depend on the “Custom Fields” of that pages you can do this: Build the URL for the JSON-API-request with the values of the Customfields.
Example:
  1. Define “keyaa” and “keybb” as Customfields with values “api” and “heroes”
  2. Set up this Shortcode:
    [jsoncontentimporterpro url="https://api.opendota.com/<cf_keyaa\>/<cf_keybb\>" parser=twig customfieldparam=keyaa,keybb debugmode=10] {% for item in _context %} {{item.id}} {{item.name}} {{item.localized_name}} {% endfor %} [/jsoncontentimporterpro]
  3. In the URL for the JSON request the placeholders <cf_keyaa\> and <cf_keybb\> will be replaced by the values of the Custom filed. So the resulting request is https://api.opendota.com/api/heroes.
  4. Copy paste might work here not perfectly, as <cf_keyaa\> is html-encoded (&lt;cf_keyaa\&gt;) to display that – so manually type “>” and “<“
  5. debugmode=10 shows some debug-messages, remove if all ok…

In Action:
1 npc_dota_hero_antimage Anti-Mage
2 npc_dota_hero_axe Axe
3 npc_dota_hero_bane Bane
4 npc_dota_hero_bloodseeker Bloodseeker
5 npc_dota_hero_crystal_maiden Crystal Maiden
6 npc_dota_hero_drow_ranger Drow Ranger
7 npc_dota_hero_earthshaker Earthshaker
8 npc_dota_hero_juggernaut Juggernaut
9 npc_dota_hero_mirana Mirana
10 npc_dota_hero_morphling Morphling
11 npc_dota_hero_nevermore Shadow Fiend
12 npc_dota_hero_phantom_lancer Phantom Lancer
13 npc_dota_hero_puck Puck
14 npc_dota_hero_pudge Pudge
15 npc_dota_hero_razor Razor
16 npc_dota_hero_sand_king Sand King
17 npc_dota_hero_storm_spirit Storm Spirit
18 npc_dota_hero_sven Sven
19 npc_dota_hero_tiny Tiny
20 npc_dota_hero_vengefulspirit Vengeful Spirit
21 npc_dota_hero_windrunner Windranger
22 npc_dota_hero_zuus Zeus
23 npc_dota_hero_kunkka Kunkka
25 npc_dota_hero_lina Lina
26 npc_dota_hero_lion Lion
27 npc_dota_hero_shadow_shaman Shadow Shaman
28 npc_dota_hero_slardar Slardar
29 npc_dota_hero_tidehunter Tidehunter
30 npc_dota_hero_witch_doctor Witch Doctor
31 npc_dota_hero_lich Lich
32 npc_dota_hero_riki Riki
33 npc_dota_hero_enigma Enigma
34 npc_dota_hero_tinker Tinker
35 npc_dota_hero_sniper Sniper
36 npc_dota_hero_necrolyte Necrophos
37 npc_dota_hero_warlock Warlock
38 npc_dota_hero_beastmaster Beastmaster
39 npc_dota_hero_queenofpain Queen of Pain
40 npc_dota_hero_venomancer Venomancer
41 npc_dota_hero_faceless_void Faceless Void
42 npc_dota_hero_skeleton_king Wraith King
43 npc_dota_hero_death_prophet Death Prophet
44 npc_dota_hero_phantom_assassin Phantom Assassin
45 npc_dota_hero_pugna Pugna
46 npc_dota_hero_templar_assassin Templar Assassin
47 npc_dota_hero_viper Viper
48 npc_dota_hero_luna Luna
49 npc_dota_hero_dragon_knight Dragon Knight
50 npc_dota_hero_dazzle Dazzle
51 npc_dota_hero_rattletrap Clockwerk
52 npc_dota_hero_leshrac Leshrac
53 npc_dota_hero_furion Nature's Prophet
54 npc_dota_hero_life_stealer Lifestealer
55 npc_dota_hero_dark_seer Dark Seer
56 npc_dota_hero_clinkz Clinkz
57 npc_dota_hero_omniknight Omniknight
58 npc_dota_hero_enchantress Enchantress
59 npc_dota_hero_huskar Huskar
60 npc_dota_hero_night_stalker Night Stalker
61 npc_dota_hero_broodmother Broodmother
62 npc_dota_hero_bounty_hunter Bounty Hunter
63 npc_dota_hero_weaver Weaver
64 npc_dota_hero_jakiro Jakiro
65 npc_dota_hero_batrider Batrider
66 npc_dota_hero_chen Chen
67 npc_dota_hero_spectre Spectre
68 npc_dota_hero_ancient_apparition Ancient Apparition
69 npc_dota_hero_doom_bringer Doom
70 npc_dota_hero_ursa Ursa
71 npc_dota_hero_spirit_breaker Spirit Breaker
72 npc_dota_hero_gyrocopter Gyrocopter
73 npc_dota_hero_alchemist Alchemist
74 npc_dota_hero_invoker Invoker
75 npc_dota_hero_silencer Silencer
76 npc_dota_hero_obsidian_destroyer Outworld Devourer
77 npc_dota_hero_lycan Lycan
78 npc_dota_hero_brewmaster Brewmaster
79 npc_dota_hero_shadow_demon Shadow Demon
80 npc_dota_hero_lone_druid Lone Druid
81 npc_dota_hero_chaos_knight Chaos Knight
82 npc_dota_hero_meepo Meepo
83 npc_dota_hero_treant Treant Protector
84 npc_dota_hero_ogre_magi Ogre Magi
85 npc_dota_hero_undying Undying
86 npc_dota_hero_rubick Rubick
87 npc_dota_hero_disruptor Disruptor
88 npc_dota_hero_nyx_assassin Nyx Assassin
89 npc_dota_hero_naga_siren Naga Siren
90 npc_dota_hero_keeper_of_the_light Keeper of the Light
91 npc_dota_hero_wisp Io
92 npc_dota_hero_visage Visage
93 npc_dota_hero_slark Slark
94 npc_dota_hero_medusa Medusa
95 npc_dota_hero_troll_warlord Troll Warlord
96 npc_dota_hero_centaur Centaur Warrunner
97 npc_dota_hero_magnataur Magnus
98 npc_dota_hero_shredder Timbersaw
99 npc_dota_hero_bristleback Bristleback
100 npc_dota_hero_tusk Tusk
101 npc_dota_hero_skywrath_mage Skywrath Mage
102 npc_dota_hero_abaddon Abaddon
103 npc_dota_hero_elder_titan Elder Titan
104 npc_dota_hero_legion_commander Legion Commander
105 npc_dota_hero_techies Techies
106 npc_dota_hero_ember_spirit Ember Spirit
107 npc_dota_hero_earth_spirit Earth Spirit
108 npc_dota_hero_abyssal_underlord Underlord
109 npc_dota_hero_terrorblade Terrorblade
110 npc_dota_hero_phoenix Phoenix
111 npc_dota_hero_oracle Oracle
112 npc_dota_hero_winter_wyvern Winter Wyvern
113 npc_dota_hero_arc_warden Arc Warden
114 npc_dota_hero_monkey_king Monkey King
119 npc_dota_hero_dark_willow Dark Willow
120 npc_dota_hero_pangolier Pangolier