generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Http Service?

Previous Thread :: Next Thread 
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
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
RobloxPhone_Dev is not online. RobloxPhone_Dev
Joined: 29 Oct 2010
Total Posts: 1892
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 is not online. 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&currency=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
Barbariancreep is not online. Barbariancreep
Joined: 23 Nov 2012
Total Posts: 1096
10 Aug 2016 08:11 AM
The steam link gave me this:

{"success":false}

I missed something?
Report Abuse
kools is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image