|
| 10 Aug 2016 07:38 AM |
How can I get the price of something off a web-site (i.e. amazon, steam community market, ebay, etc.) in roblox? The prices will be changing frequently as well.
I'm not one of those kids who think that games such as Just Cause, CSGO, TF2, Undertale, etc, was made over the course of 2 weeks, I really do understand how hard programming can be.
So may I have a sense of direction of how to get this done?
Thank you guys! |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2016 07:45 AM |
| use PHP on a website you own (if you don't own any, buy one or get one free), then find out where the price is on the website you will get it from, check the source code, then filter out the price and print it on your site. |
|
|
| Report Abuse |
|
|
kools
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 1659 |
|
|
| 10 Aug 2016 07:49 AM |
Each service is different. There is no one online RESTful API that will give you the price name of an object. Also keep in mind, the things I post below are specific listings. Getting the price of a bag of oranges will not work because none of these services have the average price. (You have to look to other sources, like the US Department of Agriculture for numbers like that)
Steam community market ---------------------- There is no official API to use; however, someone on StackOverflow suggested the following link (you obviously need to change the hashname GET parameters)
steamcommunity dot com/market/priceoverview/?appid=730¤cy=3&market_hash_name=StatTrak%E2%84%A2 M4A1-S | Hyper Beast (Minimal Wear)
It returns json, you can check it out in your browser.
Ebay ---- EBay seems to have a developer program (I don't know if you have to get money for this or not) It's at go dot developer dot ebay dot com.
Amazon ------ Amazon also has a developer program at developer dot amazon dot com. There is a wide range of things you can do.
The best advice I think I would give would be to host a middleman in the flow of this information. Host the information somewhere, like on a free web host, and using better http libraries (in python or php), fetch the different information you want from the different services. Then before you have to query it in a ROBLOX game, you can transform the data into something you can use better with the libraries given to us. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2016 08:11 AM |
The steam link gave me this:
{"success":false}
I missed something? |
|
|
| Report Abuse |
|
|
kools
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 1659 |
|
|
| 10 Aug 2016 08:16 AM |
| Hmmm, maybe you need to be signed in (which is an obvious problem). Sorry |
|
|
| Report Abuse |
|
|