pullella's Avatar

pullella

Joined 05/20/2020 Achieve Points 40 Posts 1

pullella's Comments

  • pullella's Avatar
    40 1 Posts Joined 05/20/2020
    Posted 3 years, 11 months ago

    Love the import from HSReplay feature, but if you have several hs accounts under one hsreplay account, you can't rely on

    `https://hsreplay.net/api/v1/collection/?account_lo=${_userdata["user"]["blizzard_accounts"][0]["account_lo"]}&format=json&region=${_userdata["user"]["blizzard_accounts"][0]["region"]}`;

    as the primary account may be a different item in the array.. Don't know how you would make it easy for folks to figure this out, but my primary account (the one i wanted to show in outofcards) was

    `https://hsreplay.net/api/v1/collection/?account_lo=${_userdata["user"]["blizzard_accounts"][3]["account_lo"]}&format=json&region=${_userdata["user"]["blizzard_accounts"][3]["region"]}`;

     

    Since I messed up the first time (used the 0 item of the array to upload), how do i clear the current cards and replace with the correct version?

  • ODYN
    0 Users Here