Template:DiscogsArtist: Difference between revisions

From Morrissey-solo Wiki
(Created page with "{{#get_web_data: url=https://www.morrissey-solo.com/api-discogs-artist.php?id={{trim| {{{1}}} }} |format=JSON |use jsonpath |data=uri=$.uri, profile=$.profile, urls=$.urls...")
 
No edit summary
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#get_web_data:
{{#get_web_data:
  url=https://www.morrissey-solo.com/api-discogs-artist.php?id={{trim| {{{1}}} }}
  url=https://www.morrissey-solo.com/api-discogs.php?resource=artists&id={{trim| {{{1}}} }}
  |format=JSON
  |format=JSON
  |use jsonpath
  |use jsonpath
  |data=uri=$.uri, profile=$.profile, urls=$.urls[*], url0=$.urls[0], url1=$.urls[1], url2=$.urls[2], url3=$.urls[3], url4=$.urls[4], url5=$.urls[5], url6=$.urls[6], url7=$.urls[7], url8=$.urls[8], url9=$.urls[9], url10=$.urls[10]
  |data=uri=$.uri, image=$.random_image, profile=$.profile, urls=$.urls[*], url0=$.urls[0], url1=$.urls[1], url2=$.urls[2], url3=$.urls[3], url4=$.urls[4], url5=$.urls[5], url6=$.urls[6], url7=$.urls[7], url8=$.urls[8], url9=$.urls[9], url10=$.urls[10]
  |cache seconds=3600
  |cache seconds=3600
  |use stale cache
  |use stale cache
}}
}}
{| class="wikitable" style="float:right; margin-left: 10px;"
| {{#external_value:image}}
|}
===Profile===
===Profile===
{{#external_value:profile}}
{{#external_value:profile}}

Revision as of 21:31, 22 April 2021

Profile

External Links