Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Example uses of the HTTPservice?

Asked by 6 years ago

This is a bit of an unusual question, so I'll see what I can do to be as specific as possible.

What are some of the current (or at least most frequent uses) for HTTPservice? What kind of webAPIs do people typically use for it that aren't homemade? I was sort of disappointed when I found out so much of the roblox webAPI is restricted from httpservice.

In the case of Homemade APIs, what is a recommended method of hosting them? are there free sites that allow you to host programs online, or is it possible to host programs Peer-to-peer from your computer, straight to roblox through your internet connection? (I'm assuming the latter is not the case, because that would be a web request nightmare if your game ever got popular)

If I need to clarify the nature of my question, just leave a comment and I'll make edits. I'm not necessarily looking for tutorials on how to write the actual webcode... but I wouldn't refuse it as it might be good to have for future reference.

2 answers

Log in to vote
0
Answered by 6 years ago

Hi! Great question. Some of the APIs I use for HTTPService include TrelloAPI (there is also a Roblox version of it) and Roblox-JS Server by setanos. I really recommend you give Roblox-JS Server a try. It's kind of like the Roblox Web API, but it does a lot more. You can get player blurbs, promote and demote players in groups, and much, much, more. Roblox-JS Server is a little difficult to setup, but the developer has made a great tutorial on how to set it up. It does require a server to use, but there is a great website you can host it on called heroku. It's all in the tutorial if you are interested in it.

TrelloAPI Link: https://developers.trello.com/ TrelloAPI Roblox Edition Link: https://www.roblox.com/library/214265621/Trello-API-Original-API-Key-Fixed Roblox-JS Server Link: https://github.com/sentanos/roblox-js-server

0
whooooah this is quite complicated. Thank you for the answer tho! The video tutorial seems to have been removed, is there another recent one you can link? Otherwise, I'll see if I can find one myself. DropshipPilot 148 — 6y
0
Which API are you referring too? thebootsie123 160 — 6y
0
TrelloAPI, I believe. DropshipPilot 148 — 6y
0
Hm.. I can't seem to find an updated video tutorial. The TrelloAPI is used a lot in application centers. Look up tutorials for applications centers. You should find some and you can learn the Trello API that way. thebootsie123 160 — 6y
Ad
Log in to vote
0
Answered by
H4X0MSYT 536 Moderation Voter
6 years ago

There are many uses for the HttpService. Many of which involve JSON. JSON is pretty much a universally accepted method of storing data. Another example is web calls. (GET, POST). Those are the two requests roblox currently allows for. The reason you cannot access roblox websites through it, is DDoS protection. I believe roblox was once DDoS'ed by it's own servers running never ending loops with requests to its own websites. For Home-Made api's. I once wanted a database, kind of like how berezaa did for Miners Haven. If all else failed, and roblox wouldn't be viable at a time, berezaa went to his website's services, which he could store data in. I obviously didn't have funds, so I used google sheets. I know through scripts, google forms was a great way to record data. Until the key got leaked. I used google sheets. Google will provide you with 15T of storage, across emails and drive. This is a great way to start a storage api.

0
Ah! I hadn't realized Google sheets could access JASON data! DropshipPilot 148 — 6y

Answer this question