Bugs

0 Characters Joined
Bugs | Posted by | 5 years, 10 months ago
Discussion

Updating Card Database

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?

// join_the_conversation

Sign in to share your thoughts, vote on comments, and connect with the community.

Comments

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