[TC] Gaming API : General Discussion
|
2018-12-30, 22:46
Post: #16
|
|||||||
|
|||||||
RE: [TC] Gaming API : General Discussion
(2018-12-30 18:40)kxait Wrote: @Adorable - I used the [TC] API cause I'm too lazy for parsing HTML lol You can do it in 1 line actually, here's my approach so that you could spare more API requests, also I think this is the fastest source. https://www.lfsworld.net/hoststatus/?h=hostname Code: int players = Convert.ToInt32(Regex.Split(Regex.Split(response, "Conns</div><div class=\"Field2\">")[1], " / 40")[0]); Your interfaces are awesome, I like how you're keeping things similar to what Chuck/Elmo are building! In the meanwhile, I've been fiddling with Node, here's what I've been up to, it's a start: Spoiler (Click to View) |
|||||||
|
|||||||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies: | Views: | Last Post | |
[TC] Gaming API | Pete | 0 | 10,890 |
2017-08-28 22:09 Last Post: Pete |
User(s) browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group