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 » Game Design
Home Search
 

Re: The ROBLOX Web-API "Standard Library" | "rStdLib"

Previous Thread :: Next Thread 
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
16 Mar 2015 09:57 PM
/* The ROBLOX Web-API "Standard Library" | "rStdLib"
"One Module, One Library, One Standard"

Note: The idea of this project is to have all of these API's unified under one "standard" library.
I'm well aware that developers do not always need all of the API's, this is why I will design the
library with just that in mind. You will only load, and use whichever API libraries you need for
example:

StdLib = require(Modules:WaitForChild("rStdLib"));
AssetLib = StdLib:GetLibrary('AssetLib');
// Only the StdLib and AssetLib are loaded. All others are untouched.

Author:
Roblox: DevConsole
Twitter: @DevConsoleRBLX | Follow me for progress updates!


Features (subject to change):

- ROBLOX Catalog API | Allows you to get ROBLOX Catalog items in JSON format based on given search parameters

- ROBLOX Client API | Many features including (features may be added/removed):

- Check if a username has been taken
- Get username by ID
- Get ID by username
- Get a client's 'Body Colors'
- Get AssetId's of item's being worn by a client
- Get AssetVersionId's being worn by a client
- Get a client's places
- Get a client's badges
- Check if two clients are friends
- get a user's friends

- ROBLOX Asset API | Many features including (features may be added/removed):
- Get a client's client thumbnail
- Get an asset's thumbnail
- Get a group's thumbnail
- Get comments on an asset
- Get parts of a package
- Check if a client owns an asset
- Get information about an asset
- Get an asset's latest AssetVersionId

- ROBLOX Group API | Many features including (features may be added/removed):

- Get information about a group as a decoded JSON table
- Check if a client is in a group
- Get a client's rank number within a group
- Get a user's rank name
- Get a group's ranks
- Get a user's primary group

- ROBLOX Economy API | Get currency exchange rates

- ROBLOX Place API | Get game passes for a place


*/

If you have any Ideas/Suggestions PM me on ROBLOX!

Follow me @DevConsoleRBLX on Twitter for updates! | RT/Follow for support!
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
16 Mar 2015 10:05 PM
TL;DR Version: It consolidates all of ROBLOX's Web-APIs into one "Standard Library" module.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
16 Mar 2015 10:32 PM
Could be useful.
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
16 Mar 2015 10:57 PM
The purpose of this is to serve as a "shortcut" tool for experienced and novice game developers alike. This library is meant to consolidate and to facilitate the extrapolation of data from within each API with easy to use, lightweight methods. The libraries will include features such as for example, when JSONDecode()ing data it will automatically convert HTML Coded Characters into it's original form, replace the empty string ("") in Key/Value ("Key" : "") pairs, etc. Essentially to make using this library as easy to use as humanly possible.
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
21 Mar 2015 11:50 PM
Does this include getting all the userId's of people inside a group?
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
22 Mar 2015 11:19 AM
This library is limited only to ROBLOX APIs at the moment. However I know Seranok was considering open sourcing the PHP code necessary to do just that. What I could do is add a few methods in support of adding your own custom APIs into the library. The reason I don't add these sorts of things natively is for the same reason Seranok decides not to share his server but instead open source the code for orhers to use on their own servers. This is because it requires the use of a server, and bandwidth of course. It wouldn't be very smart for me to do that especially if this becomes popular; the servers would get overloaded very easily.
Report Abuse
WithoutAPaddle is not online. WithoutAPaddle
Joined: 31 Jul 2010
Total Posts: 4435
22 Mar 2015 03:02 PM
Scammerrrrr alert
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
22 Mar 2015 04:11 PM
Angry children aside, this is just a project that I plan to obviously open source once completed. It's aimed for beginners who do not yet fully grasp how to manipulate and/or extrapolate data from the ROBLOX Web-APIs. It also simply helps to have all of these APIs neatly consolidated into one module library.
Report Abuse
WithoutAPaddle is not online. WithoutAPaddle
Joined: 31 Jul 2010
Total Posts: 4435
22 Mar 2015 06:09 PM
u scammed jonathanw123?
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
23 Mar 2015 09:14 AM
If that's the version of the story you choose to believe, then so be it. But go take it somewhere else. I personally don't care for what you have to say, nor does anyone on this thread or even forum sub-section. It's unrelated to both and in reality a personal vendetta.
Report Abuse
WithoutAPaddle is not online. WithoutAPaddle
Joined: 31 Jul 2010
Total Posts: 4435
23 Mar 2015 09:16 AM
Nono, calm down... I was just wondering
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
23 Mar 2015 10:07 AM
You might want to change the name.
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
24 Mar 2015 08:38 AM
Any suggestions on the name?
Report Abuse
notfruit is not online. notfruit
Joined: 21 Sep 2012
Total Posts: 1386
24 Mar 2015 10:35 AM
Call it something that isn't totally lame. Not "ROBLOX Web API" for starters. Java is a cool name. Smalltalk is a cool name. Make it sound hip and cool so these young'ns will want to use it.
Also, getting everyone to use an API is hard considering most people here don't know what an API is. It's like herding cats.

Now here's something that would help for building. Make a wrapper for ROBLOX terrain generation that lets us use our own algorithms for generating a terrain (from a heightmap or with perlin noise or something) without having to do all the "set this cell to sand" stuff.

Maybe also a JSON or XML parser for making GUI's. You could bind certain "tags" or "elements" in the gui to functions inside a ModuleScript or something, kind of like HTML and the DOM, except not as messy.

And while you're at it, instead of having all these setters and getters in your API, have something like in python where you can hide your setters and getters with the @property decorator, and access them like you would with a table or python class (someAPI.value = "foobar"). Maybe with metatables or something?
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
24 Mar 2015 09:02 PM
*writes down these ideas for future projects*

See, I sense an angry tone for some reason. Not really sure why. You bash my project, and offer all these great ideas, but instead of doing that, why not grab all these great ideas and do them yourself? The things you suggested I can do and are extremely good ideas, and I honestly applaud you form thinking of them, but this thread is about *my* API, not what you *want* it to be. I mean, if you don't find this useful, then that's on you. Doesn't mean everyone else thinks the same way. And using an API isn't hard. API:MethodCall() is the same as using any method in all of RbxLua. If you can do say, Directory:GetChildren() then you can use an API. Also, (someAPI.value = "foobar") is already implemented, you can even declare an empty table and set things imply by doing Table.Key = Value. But I appreciate your input regardless. And I mean It's not like I'm going to sort of create this, hand it to everyone and be like "okay good luck!". No no, I'm quite determined to make this as light weight and easy to use as humanly possible. I appreciate your comments, but there is no need to be snide about it.
Report Abuse
notfruit is not online. notfruit
Joined: 21 Sep 2012
Total Posts: 1386
25 Mar 2015 08:35 AM
k sorry :-(
Report Abuse
notfruit is not online. notfruit
Joined: 21 Sep 2012
Total Posts: 1386
25 Mar 2015 08:44 AM
oh ya

Also, everything else is great. Good job making API's and stuff.

I was just bashing the name. ROBLOX web-API is too long and my brain hurts.

I didn't mean to be hurtful (well, kinda) but sometimes you forget there are other people behind the screen.

tl;dr ya im a jerk ¯\_(ツ)_/¯
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
25 Mar 2015 08:45 AM
It's his opinion, whatever he wishes to say.

If you are going to get people to use this you'll likely have to get a great name like Valkrie.
Report Abuse
DevConsole is not online. DevConsole
Joined: 02 Jun 2008
Total Posts: 460
25 Mar 2015 10:30 AM
I never told him that it wasn't his opinion, nor that I didn't want it. As I said, I appreciate the input. But if you're going to be snide, at least stay on topic and suggest "better" things relevant to this thread's topic. Also Valkyrie isn't good because of the name. On this forum at least, eLunate is well known, so that's a major factor. And, he is offering something that is beneficiary to a larger client pool. Not a lot of people will have an immediate need for such an API. But anyways, this is intended to be an open source project, and it would be great if lots of people adopted it. But I'm not really going to stress out about wether it's popular or not.
Report Abuse
micke3212 is not online. micke3212
Joined: 24 Nov 2009
Total Posts: 3000
25 Mar 2015 11:15 AM
Is it the name or is it because your jealous eLunate has 10x the amount API than you do.
Report Abuse
notfruit is not online. notfruit
Joined: 21 Sep 2012
Total Posts: 1386
25 Mar 2015 11:36 AM
^ oh snap
Report Abuse
WithoutAPaddle is not online. WithoutAPaddle
Joined: 31 Jul 2010
Total Posts: 4435
25 Mar 2015 05:55 PM
Micke the chirp, trash talking over a game. Honestly, who the hell would care about who's better or not? Also, with the people trying to correct other people, knock it off, people are different. ok bye now
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
25 Mar 2015 06:12 PM
Excuse me my library wipes the floor with your library, and then cleans the floor again because your library is filth.

<3
Report Abuse
notfruit is not online. notfruit
Joined: 21 Sep 2012
Total Posts: 1386
26 Mar 2015 10:15 AM
^ You actually don't need libraries to make games. :P

ROBLOX already has an API which works perfectly fine. Adding another layer on top of the ROBLOX API just creates more overhead, and scripters have to learn how to use your API plus the ROBLOX API for the stuff your API doesn't do. This increases development time and possibly costs, the things you wanted to minimize.

It's kind of pointless having an API on top of an API in the first place don't you think? simple > complex and adding another layer of abstraction doesn't make things "easier".

Your project, Valkyrie, would be more useful built on top of SDL with C and C++, since working with code that low-level is time consuming and error prone for developers. Not so much for ROBLOX. ¯\_(シ)_/¯
Report Abuse
Winception is not online. Winception
Joined: 26 Feb 2010
Total Posts: 550
26 Mar 2015 10:39 AM
Jeez mate I don't even script but this still sounds badass.

~Win
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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