Jump to content

Skylords Marketplace Journal (SMJ)


Recommended Posts

Posted (edited)
13 minutes ago, CrispyChicken said:

obviously it was just laziness not reading through skylords backend and just copy / pasting smj2.herokuapp table 😜
Thanks for the Link! Verry helpful, fast and easy to fetch!

these might also interest you then: 🙂

https://smj.cards/api/buyouts (current buyouts by card)

https://smj.cards/api/details   (current details by auction)

the full data from the details api will be used by the reinstation of the deals page once it's done, but currently it is only used by the current auctions at the bottom of each card page 🙂

 

13 minutes ago, CrispyChicken said:

Just recognized that your webserver (or any webserver) dislikes nox troopers https://smj.cards/404

lol, didn't notice that, but yeah sucks to be nox trooper xD Luckily there is at least no card with 500 as the id, xD

I should be able to change that, but I don't think that many people look for nox trooper by it's official id either way. xD

Edited by Maze
CrispyChicken likes this
Link to post
Share on other sites
  • Replies 137
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Greetings fellow Skyfolk, after reaching a point where it just wouldn't make sense to continue working on the now outdated version of the SMJ-Website, I decided to completely rebuild the website

Hey, I am working on the new version of the website and since it is pretty close to being viable I will finish it up and won't update the old site anymore. I hope to release the new version by new yea

I added a second Noteworthy Prices table that shows Median, Mean, Lowest and Highest prices for the last 28 days, enjoy. 🙂

Posted Images

10 hours ago, Maze said:

these might also interest you then: 🙂

https://smj.cards/api/buyouts (current buyouts by card)

https://smj.cards/api/details   (current details by auction)

the full data from the details api will be used by the reinstation of the deals page once it's done, but currently it is only used by the current auctions at the bottom of each card page 🙂

 

lol, didn't notice that, but yeah sucks to be nox trooper xD Luckily there is at least no card with 500 as the id, xD

I should be able to change that, but I don't think that many people look for nox trooper by it's official id either way. xD

true, pretty shure barely anyone will use Official-ID and your ID is working fine.
Many thanks for the API links I'm going to take advantage from!!

Edited by CrispyChicken
Link to post
Share on other sites
8 hours ago, CrispyChicken said:

Hey Maze,

you have any json including all official card id's? I'd like to match your id to official id by cardslug or id in some way instead of building compatible card names for allocation?
 

yes I have, I just forgot to expose it through an api 🙈 (the cards have my own enums though, so not sure how usefull that will be for other people)

Link to post
Share on other sites
8 hours ago, CrispyChicken said:

I'd like to match your id to official id by cardslug or id in some way instead of building compatible card names for allocation

my cardSlug is also just generated with this as a basis: https://hub.backend.skylords.eu/api/auctions/cards?id=all

just make everything lower-case, add "-promo" if it's a promo, add "-r"/"-p"/"-g"/"-b" for the respective affinities and in case of Protector's Seal add either "-tl" or "-ls". but if there would ever be a card that needs all 3 different extensions I would probably go with the order: color -> promo -> affinity, just as a suggestion. 🙂

 

44 minutes ago, CrispyChicken said:

ok, not a big deal.. i can go the indirect way..

I will expose it in the next patch (hopefully before this sunday), then you can use it for your mapping. I only created enums for most of the static card data (like color, rarity, edition, affinity), but my ID, cardSlug, cardName and official card ID is in all of them.

I use cardSlug for the mapping most of the time, since all my data objects are set up to always have a cardSlug, but in theory I could just get rid of the cardSlugs and replace it with my own ID everywhere, but having it readable if I need to look something up helps and also sometimes there is more than one instance of a card, like in the details. so I only use my ID, in cases where there is only one instance of a card, like with buyouts, notables, or the static data, as the _id should never change. I used the cardSlug for that in the beginning, but then Lord Cyrian changed, so I switched to the official id, but then Plague changed. xD

Link to post
Share on other sites
43 minutes ago, Maze said:

my cardSlug is also just generated with this as a basis: https://hub.backend.skylords.eu/api/auctions/cards?id=all

just make everything lower-case, add "-promo" if it's a promo, add "-r"/"-p"/"-g"/"-b" for the respective affinities and in case of Protector's Seal add either "-tl" or "-ls". but if there would ever be a card that needs all 3 different extensions I would probably go with the order: color -> promo -> affinity, just as a suggestion.

already coded it like that and not to forget the backend "bug" with sandstorm-r which was changed to -b 😂
Thank you!

 

43 minutes ago, Maze said:

I use cardSlug for the mapping most of the time, since all my data objects are set up to always have a cardSlug, but in theory I could just get rid of the cardSlugs and replace it with my own ID everywhere, but having it readable if I need to look something up helps and also sometimes there is more than one instance of a card, like in the details. so I only use my ID, in cases where there is only one instance of a card, like with buyouts, notables, or the static data, as the _id should never change. I used the cardSlug for that in the beginning, but then Lord Cyrian changed, so I switched to the official id, but then Plague changed. xD

hmm.. yea ID's should never change but in case of plague.. irony 😉

Edited by CrispyChicken
Link to post
Share on other sites

I decided to implement a few additional feature that were suggested, and were on my list in some way anyway, so I just went ahead and coded them up. But keep in mind that they are only in a preliminary state and layout changes are highly probable. It was surprisingly fast to code with 2 long evening sessions. xD

Anyway, the features are:
- add cards to a favorites list that is stored locally in your browser
- filter the cards on the main page with your lists or a List Code
- copy the List Code of the currently filtered cards
- set the favorites list with a List Code so you don't need to click on the favorite button for every card
- copy the current favorites List Code so you can store it in a textfile or somewhere else in case you want to switch browsers or devices
- calculate the total amount of gold to upgrade a list/all cards and how much bfp it would cost to complete your collection with some additional adjustable settings (filtering is done with a List Code)

 

You are now probably wondering what a List Code is, it's simply a string of SMJ ids that are joined together.
Example: "A1A2A3A4A5A6A7" is a list of all the newest cards (the order doesn't matter). The List doesn't have a maximum size, so go crazy with it. xD

You can also place as many commas or spaces in the string if that helps you with readabiliy, but they are removed when stored in the localStorage, it also removes duplicate ids and sorts the ids for better readability when you copy it again.

I set it up to allow the addition of other personal lists in the future, but I haven't coded that yet. Nonetheless, you should be able to adjust the value of the "lists" key in your localStorage to manually add another list and use it on the main page. 🙂

 

I haven't tested every little detail yet, so please tell me if you notice any weird behavior/have problems with the usability and have a better suggestion.

On a side note, I also fixed a few bugs (Mini Booster values were wrong, Card Auction Details didn't change when the card changed) and added some tooltips here and there.

Next I really have to fix the prices, since the Long Term and Notables data haven't updated for a few days and the I should finally migrate the old data from before the patch 🙈

 

CrispyChicken likes this
Link to post
Share on other sites
  • 2 weeks later...
7 minutes ago, Kaldra said:

Really great site!

Only thing I was wondering:

Are sorting options for prices missing? Sorting by difference would be really interesting to see market manipulation.

 

Sorting by price is planned and one of the things I will work on next, I just haven't gotten around to implementing it yet. 🙂

Link to post
Share on other sites
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use