• Content count

  • Joined

  • Last visited

  • Days Won


dkurok last won the day on June 20 2017

dkurok had the most liked content!

About dkurok

  • Rank
    Level 3 Stud

Profile Information

  • Gender
  • Location
  • Interests
    Lego, singing acapella

Recent Profile Visitors

334 profile views
  1. throttle in API

    Hi Simon, yes, some more information in download-files which are updated on a regular base (should be determined by the frquency of part/set-updates and alike by Nathan) would be very nice. Best regards Dietmar
  2. throttle in API

    Hi biodreamer, just a question about your explanation / clarification: Are you involved in the development of the Rebrickable-API? Or in other words: Do you KNOW for sure that the 28 calls with big chunks are better than the 5000 small calls? In terms of general thoughts I would agree, but the answer for a concrete system like RB depends on a lot of factors (like available bandwith, number of concurrent connections, DB-cache, memory, CPUs,...). So I can imagine a system where the answer would be the oposite (for example good scaling DB with huge cache having all queries for concrete part in cache but small bandwith to the outside world).
  3. throttle in API

    Hi biodreamer, thank you for the explanation! I'm just working on that aspects. I fetch data and cache them in my local DB, but from time to time I've got to consolidate and this is what I actually work on. So knowing that number of calls is more of a problem than "big" chunks on backend-side it good to know. BTW: It seems that pagesize greater 1000 in /api/v3/lego/parts are ignored. Otherwise I could fetch all parts in just two calls: first to get the first 1000 and the count; second to get all in one call using the count of the first call as the pagesize for the second call. But this does not work.... Is that by intention?
  4. Link from Bricklink to Rebrickable throws error

    Didn't expect to find it! Just wanted to point to the behavior of Firefox, which tells something about "corrupted content". So it seams that in some way Rebrickable returns something "malformed" and actually Firefox treats security issues very strict...
  5. Maybe not directly related to API: When searching in Bricklink for a part which not exists in Rebrickable (for example 42601pb01) and then clicking on the Rebrickable-link on the bricklink-site, an error is thrown in Firefox (57.0.4 (64-bit) on Windows 10): "Corrupted Content Error The site at has experienced a network protocol violation that cannot be repaired. The page you are trying to view cannot be shown because an error in the data transmission was detected. Please contact the website owners to inform them of this problem." Using IE or Edge, a Rebrickable-hosted page with a 404-error (Not found) is shown. I tried to understand what problem Firefox has with the page (by using F12 developer tools) and it states something with wrong usage of certificate. But I don't really understand. Not a big problem, but somehow "strange"...
  6. throttle in API

    Hi Nathan, thank you for explanation! Is the number of calls the bigger problem than the calls with big results? So as a (real) example: What is better for your API's infrastructure: A) 28 calls to /api/v3/lego/parts for getting all the actual 27651 parts (with 1000 parts returned in each call) OR ~5000 calls to /api/v3/lego/parts/{part_num} each receiving information for one part? If option A) is better for the infrastructure / performance / ..., could you just add year-from, year_to, [prints}, [molds] and [alternates] of the parts into the results-object of each part returned by /api/v3/lego/parts? This would reduce my number of calls dramatically... Many thanks Dietmar
  7. throttle in API

    I do exactly that in first place; but I also need the Bricklink-IDs, thumbnail_urls, molds, printed,... and so on and so I've got to call API on every part (i own) again (even the content from get /api/v3/lego/parts don't give back the needed fields). The download-files only have basic data...
  8. throttle in API

    Is there a way to get rid of the throttle in API-calls (Status code 429) or get it significantly higher. Actually there is a limit of 2 calls / second. I'm working on a (private; non-commercial) inventory-solution in C#/WPF and I have a database with ~50.000 parts for which I want to update part-information by using RB-API (I also write back my infomration into my RB-account). With a limit of 2 calls/second and handling the 429-status it will take ~7 hours. I think without throttle I could do it in ~2 hours. In the API-documentation it is stated: What is the meaning of "normal user"? How can I become a non-normal user? Best regards Dietmar
  9. api with google doc

    Can you explain a use-case you want to archive? It should be possible because (AFAIK) scripting in Google Sheet is more or less pure JavaScript and the Rebrickable API can be called also by JavaScript. But what do you want it to do in a sheet? I did a full Swagger-documenation (with modelling of the results) of the complete Rebrickable-API. And by using Swaggger-codegen one can also generate a JavaScript-Client-library from it. I'm using it for my private C# / WPF application for an inventory of all my sets and loose parts...
  10. search-parameter in /api/v3/users/{user_token}/parts/

    Nathan, thank you for the information!
  11. The API-function /api/v3/users/{user_token}/parts/ has a query-parameter named "search". Has someone investigated how this parameter can be used ? Does it understand wildcards? For what kind of search (and on which fields) is it used? Same parameter also exists for /api/v3/users/{user_token}/sets/ How does it work there / can it be used there? Many thanks!
  12. Hello, I'm struggling with the API-function /api/v3/lego/sets/{set_num}/sets/ The explanation for this function in the API-documentation / Swagger is: "Get a list of all Inventory Sets in this Set." But what are "Inventory Sets" for a given Set? Can someone give me an example set-number which returns a non-empty result? MAybe I understand by that... Many thanks for help
  13. I try to delete a set from a custom list (my list is named "Sets I like to have"). I push the "Edit"-button and then I try "Delete"-button (see capture1.jpg) . The dialog stays open and a toast-message is shown with "Error 404: Not found" (see capture2.jpg). I can repeat clicking the Delete-button and it generates the error-message/notification again and again. Closing the dialog leaves the set as it is. Setting quantity to 0 (workaround for deletion) is not allowed. Can you help with that? regards Dietmar
  14. Hello Nathan, I've send you a forum-message with my swagger-file. regards Dietmar
  15. When clicking on a part in the "My Lost Parts" overview, the window with the "Part Summary" is opened. In this situation it would be nice if it has the "My Lost Parts" tab activated per default (and not the "Add this part to list/inventory" tab. I want to see in which set(s) the part is missing on the first view. Best regards Dietmar