Discussion Forum: Thread 349910

 Author: araca View Messages Posted By araca
 Posted: Nov 11, 2023 13:43
 Subject: API Question - What is quantity?
 Viewed: 92 times
 Topic: Price Guide
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

araca (1)

Location:  USA, Maine
Member Since Contact Type Status
Apr 2, 2023 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Bowdoin Bricks
Hi everyone,

I am trying to use the API, and I am a bit confused on the documentation here:
https://www.bricklink.com/v3/api.page?page=resource-representations-catalog.
For the price guide, it says that total_quantity can be either the number of
sales in the last 6 months or the total number in stock. How can you tell the
difference? Thanks in advance for the help!
 Author: 1001bricks View Messages Posted By 1001bricks
 Posted: Nov 11, 2023 13:51
 Subject: Re: API Question - What is quantity?
 Viewed: 31 times
 Topic: Price Guide
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (52548)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
In Price Guide, araca writes:
  Hi everyone,

I am trying to use the API, and I am a bit confused on the documentation here:
https://www.bricklink.com/v3/api.page?page=resource-representations-catalog.
For the price guide, it says that total_quantity can be either the number of
sales in the last 6 months or the total number in stock. How can you tell the
difference? Thanks in advance for the help!

I guess it corresponds to the columns in the Price Guide:
https://www.bricklink.com/catalogPG.asp?P=3001&ColorID=5

See the total quantities:

You should get the 4 ones - or 1 if you can or have to specify which solumn you
wish, this I don't know.
 
 Author: ghyde View Messages Posted By ghyde
 Posted: Nov 11, 2023 15:05
 Subject: Re: API Question - What is quantity?
 Viewed: 40 times
 Topic: Price Guide
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ghyde (203)

Location:  Australia, Queensland
Member Since Contact Type Status Collage
May 10, 2003 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Far North Bricks
In Price Guide, araca writes:
  Hi everyone,

I am trying to use the API, and I am a bit confused on the documentation here:
https://www.bricklink.com/v3/api.page?page=resource-representations-catalog.
For the price guide, it says that total_quantity can be either the number of
sales in the last 6 months or the total number in stock. How can you tell the
difference? Thanks in advance for the help!

Are you seeing an index on the left? I found a page from that link that goes
to "Get Price Guide" as below:

https://www.bricklink.com/v3/api.page?page=get-price-guide

There is helpful information on how to pull specific data from the price guide
on that page. You might need to scroll down on the right side to see all of the
information, as it does not fit on one page on my 1924x1080 monitor in the browser
I'm using.

I'm just passing this along in case you somehow missed it when browsing the
API documentation. I don't know if it's related to your query.

Cheers ...

ghyde