-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add started_at for a stream object in /streams #196
Comments
|
A lot of people want this, but it's not in kraken. You can use the JTV API in the meantime (since it still accepts Twitch streams for some reason). Look for the |
|
Night, how would one grab that value using node.js? or wouldn't using the |
|
As for grabbing that using node.js, a "request" module exists to make external http calls easier. Check out https://github.com/mikeal/request for info on that. |
|
The issue I am having is that fact that |
It's the first object in an array, so in Javascript that'd be if(data.length > 0) {
var stream = data[0];
// stream.up_time
}if you assigned |
|
Other than an !uptime command, what would you use this data for? |
|
+1 |
|
+1 |
2 similar comments
|
+1 |
|
+1 |
|
For a "!highlight" command. |
|
Is there an ETA for this? |
There is not an ETA, but for everything Twitch it's generally soon™ unless it's a major priority. |
|
+1 fugi pls |
|
+1 QA pls |
…e is now more precise.
|
Indeed, I think this is a really basic function that should be added! |
|
As you can see by the referenced commit, |
|
Oh I oversaw this, Sorry! okay so I have "created_at":"2015-08-09T17:21:14Z" so how is this formatted? Year-month-day-??-hour-minutes-seconds?-?? and what timezone is this based on or does either the T or the Z tell me this? |
|
Thanks for the quick responces! |
There doesn't seem to be an obvious way to find out when a stream started, except by polling the API every X seconds for new streams and marking those down.
The text was updated successfully, but these errors were encountered: