Bugs Realm

Bugs

0 Characters

Updating Card Database

Submitted 3 years, 11 months ago by

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?

  • 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?

    0
  • Leave a Comment

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

    ODYN
    0 Users Here