Please refrain from posting animated GIFs, memes, joke videos and so on in discussions other than those in the off topic area.

Dismiss this message to confirm your acceptance of this additional forum term of use.

Brickset API change requests, Take 2?

RexfelisRexfelis Snohomish, WAMember Posts: 23
So...I'm hoping now that winter is setting in (for those of us in the North) that maybe someone has time for some API updates? pretty please?

Here's the current list, so I can (hopefully) get closer to what shows on the web:
1. Additional fields in <sets> (for both getSets and getSet): ageRange, userRating, weight, tags, set type, Brickset notes?
2. Service/endpoint for setting user rating
3. Service/endpoint for adding a review
4. Service(s) for displaying/editing a users’ profile

#1 and #2 would especially be appreciated.

Thanks!

Comments

  • RexfelisRexfelis Snohomish, WAMember Posts: 23
    No luck?
  • RexfelisRexfelis Snohomish, WAMember Posts: 23
    Can I...volunteer to make the changes myself?

    Ever so slowly inching towards releasing my iPhone app:
    https://github.com/LeifHarrison/MyBricks

  • PaperballparkPaperballpark UKMember Posts: 3,388
    Rather than posting on the forum, you might want to try contacting the site owner directly, using the contact options on the main website.

    That would seem to me to be a more obvious and professional way of doing things.
  • HuwHuw Brickset Towers, Hampshire, UKAdministrator Posts: 6,388
    Sorry, this isn't a priority right now, so it's still on the to-do list.

    I should however be able to do #1 fairly quickly.
  • FauchFauch FranceMember Posts: 2,251
    there is something very annoying, when you try posting a comment in news, that if someone adds a new comment before you, your comment doesn't get posted (which happens nearly everytime, because by the time I have read the news, the comments and typed mine, there has been plenty of time for other people to post comments too)
    sid3windr
  • PeteMPeteM Gallifrey (near Bristol)Member Posts: 397
    Fauch said:
    there is something very annoying, when you try posting a comment in news, that if someone adds a new comment before you, your comment doesn't get posted (which happens nearly everytime, because by the time I have read the news, the comments and typed mine, there has been plenty of time for other people to post comments too)
    I’ve had this happen a few times - I’ve started copying my finished comment before clicking submit in case it gets wiped out, so it’s easier to quickly recreate if necessary.
  • FauchFauch FranceMember Posts: 2,251
    I wish I would always remember to do that before clicking submit
  • RexfelisRexfelis Snohomish, WAMember Posts: 23
    Huw said:
    Sorry, this isn't a priority right now, so it's still on the to-do list.

    I should however be able to do #1 fairly quickly.
    Cool. Thanks for the update! Let me know if there's anything I can do to help.
  • HuwHuw Brickset Towers, Hampshire, UKAdministrator Posts: 6,388
    Changes made and documentation updated:

    ageMin, ageMax, height, width, depth, weight, category, notes, userRating, tags added to sets class

    setUserRating method added

    https://brickset.com/tools/webservices/v2
    sid3windr
  • RexfelisRexfelis Snohomish, WAMember Posts: 23
    Oh...awesome!!! Thank you so much!
  • RexfelisRexfelis Snohomish, WAMember Posts: 23
    Now the challenge of updating my UI design to include the new elements. :)
  • MaffyDMaffyD West YorkshireMember Posts: 2,452
    Fauch said:
    I wish I would always remember to do that before clicking submit


    Also @PeteM - if you use Firefox, you might like this:

    https://addons.mozilla.org/en-GB/firefox/addon/lazarus-form-recovery/

    sid3windr
  • sid3windrsid3windr BelgiumMember Posts: 1,333
    It would be better if the site wouldn't eat your comment though :/ I had it yesterday as well. Sometimes I feel like retyping, sometimes I don't...
  • FauchFauch FranceMember Posts: 2,251
    the funny thing is the forum actually saves what you type.
  • HuwHuw Brickset Towers, Hampshire, UKAdministrator Posts: 6,388
    I've no doubt this occurs sometimes judging by the number who experience it but I've never experienced it personally, and I can think of only circumstance when it would occur: if you spend 20 minutes viewing the page and typing and your session has timed out. Could that be the problem here?
  • FauchFauch FranceMember Posts: 2,251
    could be, takes a while to check all the comments sometimes
  • sid3windrsid3windr BelgiumMember Posts: 1,333
    Yep, sometimes I also open the page and do other stuff, then read it through, and the comments, then write one myself (without refreshing first). So that does sound like a plausible reason.
  • schultzy51schultzy51 Chicago, ILMember Posts: 5
    edited February 2018
    I'm not sure if this would be an easy thing to add but the set dateAdded would be helpful, as well as the ability to sort by that date on getSets/getSet.  An alternative could be something like getRecentlyAddSets (same as getRecentlyUpdatedSets but using the added date).  It looks like the query is already used on https://brickset.com/sets/order-dateadded?query=*

    Thanks in advance
Sign In or Register to comment.
Recent discussions Categories Privacy Policy