revolutes
|
  |
| Joined: 29 Aug 2015 |
| Total Posts: 2225 |
|
|
| 02 Feb 2016 08:56 PM |
so i pmed him a day ago and he replied back with his site
{"proxy/PATH/HERE":{},"subproxy/SUBDOMAIN/PATH/HERE":{},"user":{"params":{"id":"userId","username":"username","bc":"boolean"},"outfit":{"params":{"id":"userId","username":"username"}}},"item":{"params":{"id":"assetId"}},"instance":{"params":{},"classes":{"params":{"detailed":"boolean"}},"methods":{"params":{"class":"string"}},"properties":{"params":{"class":"string"}},"callbacks":{"params":{"class":"string"}},"events":{"params":{"class":"string"}},"tree":{"params":{"class":"string"}},"enum":{"params":{}}},"inventory":{"params":{"id":"userId","username":"username","bc":"boolean"}},"serialtracker":{"params":{"id":"assetId","name":"assetName","results":"int","page":"int","serial":"int"}},"limiteds":{"params":{}},"usercount":{"params":{}}}
that is what is on his site. i know its in json but im still not sure how to use it any ideas? im trying to figure out a way to display a player's total rap/item's rap without parsing thru html
|
|
|
| Report Abuse |
|
|
WebGL3D
|
  |
| Joined: 04 Sep 2013 |
| Total Posts: 28311 |
|
|
| 02 Feb 2016 08:59 PM |
Add ?prettyprint to the end of the url to see it better the key is the api, the "params" are the url params e.g. /user?id=48103520
#code print("~ WebGL3D ~ Purple Squid >") -- R+ |
|
|
| Report Abuse |
|
|
revolutes
|
  |
| Joined: 29 Aug 2015 |
| Total Posts: 2225 |
|
|
| 02 Feb 2016 09:06 PM |
ok thats makes a lot more sense
im still not sure exactly how to use it tho could you provide an example url to send a get request to, to find an item's RAP?
above statement may sound stupid because im not too familiar with the terminology
|
|
|
| Report Abuse |
|
|
Dicentium
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 18560 |
|
|
| 02 Feb 2016 09:06 PM |
ur dumb if ur trying to do stuff with lims but you didnt know about his apis
|
|
|
| Report Abuse |
|
|
revolutes
|
  |
| Joined: 29 Aug 2015 |
| Total Posts: 2225 |
|
| |
|
Dicentium
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 18560 |
|
|
| 02 Feb 2016 09:08 PM |
webs api is a lifesaver dude
web is it intensive on your server if people send like a few requests per second?
|
|
|
| Report Abuse |
|
|
|
| 02 Feb 2016 09:08 PM |
http://roblox.plus:2052/inventory?id=48103520&prettyprint=true
and thtas how i became the fresh prince of belair [R$134,541 - Tx6,450] |
|
|
| Report Abuse |
|
|
Dicentium
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 18560 |
|
| |
|
|
| 02 Feb 2016 09:09 PM |
i can fite my case if i get banned111
and thtas how i became the fresh prince of belair [R$134,541 - Tx6,450] |
|
|
| Report Abuse |
|
|
Belleq
|
  |
| Joined: 05 Jun 2014 |
| Total Posts: 21703 |
|
|
| 02 Feb 2016 09:09 PM |
w8 whats the url tho
http://www.roblox.com/games/293293386/Trade-Hangout |
|
|
| Report Abuse |
|
|
revolutes
|
  |
| Joined: 29 Aug 2015 |
| Total Posts: 2225 |
|
|
| 02 Feb 2016 09:10 PM |
@Fire; this is what I did and I got an error. wasnt sure exactly what I did wrong so i was confused :p
local http=game.HttpService
print(http:GetAsync('http://roblox.plus:2052/api/item?id=356213216'))
|
|
|
| Report Abuse |
|
|
Dicentium
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 18560 |
|
|
| 02 Feb 2016 09:10 PM |
dont teach none boaaaters 2 booaattttt
|
|
|
| Report Abuse |
|
|
Aoxix
|
  |
| Joined: 30 Jan 2016 |
| Total Posts: 160 |
|
|
| 02 Feb 2016 09:10 PM |
To use web's api you need to have a source which sends a request for the source echoed on the page
This source may vary depending on the coding language you use
I myself use web's api using an unexpected language for this particular topic, it was rbx.lua itself :p
Using the HttpService i created a module which extracts certain data from api When i come back from school if You want il give it to you
I also created one using php and js which also extracts data from the api. |
|
|
| Report Abuse |
|
|
ash877
|
  |
| Joined: 18 Feb 2008 |
| Total Posts: 5142 |
|
|
| 02 Feb 2016 09:11 PM |
Web has a good server. A few requests won't hurt him seeing that so many people use Roblox+ x.x UNLESS this api is hosted on some free server
#code alert("I am awesome c:") |
|
|
| Report Abuse |
|
|
Dicentium
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 18560 |
|
|
| 02 Feb 2016 09:11 PM |
revo its not /api/ its
:2052/serialTracker?id=48103520&prettyprint=true
|
|
|
| Report Abuse |
|
|
|
| 02 Feb 2016 09:11 PM |
you dont need /api/
http://roblox.plus:2052/item?id=356213216
@dice
if he wants to bot using web's apis, he will get nothing lol
and thtas how i became the fresh prince of belair [R$134,541 - Tx6,450] |
|
|
| Report Abuse |
|
|
Dicentium
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 18560 |
|
|
| 02 Feb 2016 09:12 PM |
aox stop making it sound all fancy its nitty gritty jquery for the js script
$.get(api,function(data){ console.log(data) }
|
|
|
| Report Abuse |
|
|
Aoxix
|
  |
| Joined: 30 Jan 2016 |
| Total Posts: 160 |
|
|
| 02 Feb 2016 09:13 PM |
You need to decode the data from the json format to a suitable format
Data = http.JSONDecode(http:GetAsync("blabla")) |
|
|
| Report Abuse |
|
|
Dicentium
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 18560 |
|
|
| 02 Feb 2016 09:13 PM |
he can do some simple bots (not full cat but ones that snipe half raps idk)
|
|
|
| Report Abuse |
|
|
revolutes
|
  |
| Joined: 29 Aug 2015 |
| Total Posts: 2225 |
|
|
| 02 Feb 2016 09:14 PM |
@fire; yeah i figured that out after you posted the url
thanks!
@im not going to boat on anyone's server im not going to boat at all
i just needed some help because i was working on a personal ish project
|
|
|
| Report Abuse |
|
|
Aoxix
|
  |
| Joined: 30 Jan 2016 |
| Total Posts: 160 |
|
|
| 02 Feb 2016 09:14 PM |
@dice
He doesnt seem to know much about using it, so i'm sure what i stated would be a helpful beginning.
Also that is jquery but its better adressing it as an ajax request becquse thats what it is particularly lol |
|
|
| Report Abuse |
|
|
revolutes
|
  |
| Joined: 29 Aug 2015 |
| Total Posts: 2225 |
|
|
| 02 Feb 2016 09:15 PM |
thanks guys
@Aox; that would be pretty helpful
|
|
|
| Report Abuse |
|
|
Dicentium
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 18560 |
|
|
| 02 Feb 2016 09:15 PM |
that is an ajax request
just a simplified ajax request so you dont have to write the whole METHOD: and stuff
|
|
|
| Report Abuse |
|
|
Aoxix
|
  |
| Joined: 30 Jan 2016 |
| Total Posts: 160 |
|
|
| 02 Feb 2016 09:16 PM |
Mhm Alright off to school bye guys .3. |
|
|
| Report Abuse |
|
|
zlib
|
  |
| Joined: 21 Jun 2015 |
| Total Posts: 14298 |
|
|
| 02 Feb 2016 09:17 PM |
Trying to bot the apis will prevent you from using them, just so you know
-Acmic R$1,295,533 | RAP: 3,845,319 | 5.161M+ Value | Send me trades: http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=87353706 |
|
|
| Report Abuse |
|
|