How To: JSON Importer for Hearthstone Collection

  • sinti's Avatar
    Global Moderator Barrens Sleuth 1980 2527 Posts Joined 10/20/2018
    Posted 1 year, 9 months ago

    While information in this guide is still valid and you can upload your collection this way, we highly recommend you use our plugin for Hearthstone Deck Tracker to make the process automated.


    This guide will show you, step by step, how to import your collection data from HSReplay.net to OutOf.Cards Hearthstone Collection.

    1. Login to HSReplay.net and navigate to your collection - https://hsreplay.net/collection/mine.
    2. Hit F12 to open your browser's console.
    3. Click on the console's networking tab.
    4. Reload the page.
    5. Using the filter on the network area, search for "account_lo".
    6. Right-click on the URL that pops up and open it in a new tab.
    7. Switch to "Raw Data" tab, select entire content of that page and copy it.
    8. Paste the copied content from previous step into the new field in collection management and click "Submit collection".
    9. A pop-up appears in top-right informing you that "Your collection is in a queue for saving. Please wait!".
    10. After a while, another pop-up appears informing your that "Collection successfully updated".
    11. Done!

    Notes:

    • The JSON import is now destructive -- i.e. it clears your entire collection, then replaces it with whatever's in the JSON. You no longer need to request a manual reset. (This is very handy for those of us with Macs, since the JSON approach is the only bulk option we have right now.)
    • If you do need to reset your collection manually for some reason, there's actually a way to do it yourself. Just go to My Hearthstone collection -> Edit collection. When you land there, the default search shows all your cards (every set, every rarity). Click the Bulk Remove Filtered From Collection button, and it will remove all those cards from your collection. Since these are all your cards, that leaves your collection empty.

    Core Set 2021 - Year of the GryphonHearthstone Mercenaries
    ~ Have an idea? Found a bug? Let us know! ~
    ~ Join us on Discord ~

    10
  • Thonson's Avatar
    HearthStationeer 1470 1437 Posts Joined 03/24/2019
    Posted 1 year, 9 months ago

    This was EXTREMELY helpful!  Thank you!  Thank you!  Thank you!!!

    Quick!  Someone give me something clever to write here.

    1
  • frenzy's Avatar
    COMMENT_COUNT_200_HS 935 465 Posts Joined 05/30/2019
    Posted 1 year, 9 months ago

    Nice

    by frenzy 1 year, 4 months ago
    1 1380 1380 639 0
    by frenzy 1 year, 8 months ago
    1 1640 1640 669 0
    by frenzy 1 year, 10 months ago
    3 1440 1440 1399 0
    by frenzy 2 years, 3 months ago
    4 3400 3400 758 0

    2
  • tazzytee's Avatar
    225 1 Posts Joined 08/10/2019
    Posted 1 year, 5 months ago

    Perfect!

    1
  • HolyWater's Avatar
    HearthStationeer 350 145 Posts Joined 03/15/2019
    Posted 1 year, 5 months ago

    so we have to repeat these steps everytime a card being added to our collection?!

    0
  • sinti's Avatar
    Global Moderator Barrens Sleuth 1980 2527 Posts Joined 10/20/2018
    Posted 1 year, 5 months ago
    Quote From HolyWater

    so we have to repeat these steps everytime a card being added to our collection?!

    No. This was a very early way to add your collection to the site and can still be preferable for some ppl for various reasons. You upload only once and then you do manual changes in your collection on the site. If you import multiple times, all the cards get added again, not just the difference. You would have to request a collection reset from us, in order to get back on track. Made an edit to the guide to reflect this information.

    Better way is to use our Deck Tracker Plugin for HSreplay deck tracker, which maintains your collection automatically.

    Core Set 2021 - Year of the GryphonHearthstone Mercenaries
    ~ Have an idea? Found a bug? Let us know! ~
    ~ Join us on Discord ~

    0
  • Anathemos's Avatar
    500 106 Posts Joined 05/29/2019
    Posted 8 months ago

    [UPDATE: The author incorporated this into the page, thanks!]


    A couple of notes, since this page is a little out of date...

     

    • The JSON import is now destructive -- i.e. it clears your entire collection, then replaces it with whatever's in the JSON. You no longer need to request a manual reset. (This is very handy for those of us with Macs, since the JSON approach is the only bulk option we have right now.)
    • If you do need to reset your collection manually for some reason, there's actually a way to do it yourself. Just go to My Hearthstone collection -> Edit collection. When you land there, the default search shows all your cards (every set, every rarity). Click the Bulk Remove Filtered From Collection button, and it will remove all those cards from your collection. Since these are all your cards, that leaves your collection empty.
    2
  • sinti's Avatar
    Global Moderator Barrens Sleuth 1980 2527 Posts Joined 10/20/2018
    Posted 8 months ago
    Quote From Anathemos

    A couple of notes, since this page is a little out of date...

    Thanks for your notes, i made an edit to the first post and included them at the end.

    Core Set 2021 - Year of the GryphonHearthstone Mercenaries
    ~ Have an idea? Found a bug? Let us know! ~
    ~ Join us on Discord ~

    2
  • Cece's Avatar
    175 19 Posts Joined 09/04/2021
    Posted 4 months, 3 weeks ago

    Just to be sure , this site dont manage different regions , so to check decks i can create on EU  and deck i can create in NA i have to overwrite my data?

    0
  • Fluxflashor's Avatar
    Administrator 1800 2554 Posts Joined 10/19/2018
    Posted 4 months, 3 weeks ago
    Quote From Cece

    Just to be sure , this site dont manage different regions , so to check decks i can create on EU  and deck i can create in NA i have to overwrite my data?

    At this time we do not, that is correct

    Founder, Out of Cards

    Follow me on Twitch and Twitter.
    If you are planning on playing WoW on US realms, consider using my recruit link =)

    0
  • Cece's Avatar
    175 19 Posts Joined 09/04/2021
    Posted 2 months, 2 weeks ago

    Is possible the json importer is broken ??

    seems like new format is

    "cardid":[0,0,0] instead of "cardid":[0,0]

    probabily changed to support diamond cards.
    0
  • Fluxflashor's Avatar
    Administrator 1800 2554 Posts Joined 10/19/2018
    Posted 2 months, 2 weeks ago

    We'll get a fix out this week to deal with the format - honestly, I wasn't even aware that people were using it still since the majority of the syncs come from either our HS Deck Tracker plugin or Firestone.

    Founder, Out of Cards

    Follow me on Twitch and Twitter.
    If you are planning on playing WoW on US realms, consider using my recruit link =)

    1
  • Renholmes08's Avatar
    40 2 Posts Joined 12/08/2021
    Posted 1 month, 1 week ago

    This site is impossible.  WTF do I get to my hearthstone collection?  This information is useless when the user cant find the JSON screen.  Fire whoever is organizing this page and get someone in here that can make this crap easy to find.

    -3
  • HuntardHuntard's Avatar
    685 507 Posts Joined 12/03/2019
    Posted 1 month, 1 week ago

    I have never used the importer and never plan to but it literally took me 30 seconds to find it under HS collection.

    Your face is already dead

    0
  • sinti's Avatar
    Global Moderator Barrens Sleuth 1980 2527 Posts Joined 10/20/2018
    Posted 1 month ago
    Quote From Renholmes08

    This site is impossible.  WTF do I get to my hearthstone collection?  This information is useless when the user cant find the JSON screen.  Fire whoever is organizing this page and get someone in here that can make this crap easy to find.

    Try looking in top-right drop down menu (under your username) > HS Collection.

    Core Set 2021 - Year of the GryphonHearthstone Mercenaries
    ~ Have an idea? Found a bug? Let us know! ~
    ~ Join us on Discord ~

    0
  • Renholmes08's Avatar
    40 2 Posts Joined 12/08/2021
    Posted 1 month ago

    This was useful.  Thank you.  I couldn't find this because the "HS Collection" drop down is hidden by the tool bar that runs across the page.  I would have had no idea there was the additional drop down without your help.

    1
  • sinti's Avatar
    Global Moderator Barrens Sleuth 1980 2527 Posts Joined 10/20/2018
    Posted 1 month ago
    Quote From Renholmes08

    This was useful.  Thank you.  I couldn't find this because the "HS Collection" drop down is hidden by the tool bar that runs across the page.  I would have had no idea there was the additional drop down without your help.

    What OS and Browser are you using? Can you post a screenshot of how the site/dropdown displays for you? It definitely shouldnt be hidden by the main navigation bar.

    Core Set 2021 - Year of the GryphonHearthstone Mercenaries
    ~ Have an idea? Found a bug? Let us know! ~
    ~ Join us on Discord ~

    0
  • frenzy's Avatar
    COMMENT_COUNT_200_HS 935 465 Posts Joined 05/30/2019
    Posted 3 weeks, 3 days ago
    Quote From Fluxflashor

    We'll get a fix out this week to deal with the format - honestly, I wasn't even aware that people were using it still since the majority of the syncs come from either our HS Deck Tracker plugin or Firestone.

    This complete excludes those that can't.

    Would be nice for it to be fixed. Otherwise the whole deck tracking and deck cost/your cost part of the website becomes useless to me.

     

    by frenzy 1 year, 4 months ago
    1 1380 1380 639 0
    by frenzy 1 year, 8 months ago
    1 1640 1640 669 0
    by frenzy 1 year, 10 months ago
    3 1440 1440 1399 0
    by frenzy 2 years, 3 months ago
    4 3400 3400 758 0

    0
  • Leave a Comment

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