Updating Card Database

  • pullella's Avatar 10 1 Posts Joined 05/20/2020
    Posted 1 week, 2 days 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?

    0
  • Leave a Comment

    You must be signed in to leave a comment. Sign in here.