mixer / developer-docs Goto Github PK
View Code? Open in Web Editor NEWDeveloper Documentation for dev.mixer.com
License: MIT License
Developer Documentation for dev.mixer.com
License: MIT License
The REST API reference documentation used to include information about the rate limits and the relevant rate limit buckets. This information is now missing. Please re-add it.
Yes, I am aware the information is hidden somewhere in the guides at https://dev.mixer.com/guides/core/ratelimits but this is neither immediately obvious nor easily discoverable.
After following the Java chat tutorial found here:
https://dev.mixer.com/guides/chat/chatbot
I get the following error:
Exception in thread "main" java.util.concurrent.ExecutionException: com.mixer.api.http.HttpBadResponseException
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at test.MixerBot.main(MixerBot.java:30)
Caused by: com.mixer.api.http.HttpBadResponseException
at com.mixer.api.http.MixerHttpClient.handleResponse(MixerHttpClient.java:231)
at com.mixer.api.http.MixerHttpClient.handleRequest(MixerHttpClient.java:218)
at com.mixer.api.http.MixerHttpClient$2.call(MixerHttpClient.java:205)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
So i notice you jump right into dev. So for those of us that have never done development and come to the channel might find it hard to learn to start.
I have a comp sci degree in programming but its been a while since I have coded. So trying to follow along with what programs you have running, what IDE's are being used or even what github is might be off putting for people that want to create interactive options on their panels.
So a suggestion is a "Get started video" Where you walk through what programs should be downloaded, which programs are being used for what purposes etc. Possibly even toss up the boiler plate code that you have shown in most of your dev channel to allow people to get that and just drop it on their stream and be able to edit a barebones ability. I find that once someone has a small piece of code that works but then can be edited to then suite their needs they are more likely to go looking for new and improved ways to do things.
Where as if they do not even know where to start will sometimes get discouraged and not even try.
Thanks
Flyingsquirrel89/Muddster89
On the mobile site, the "live" and viewer count objects that sit on top of thumbnails don't layer properly below other menus.
While scrolling, they sit above the headers that say "mixer" and "top streams".
Also, when the side menu is pressed the persist above it, making the text hard to read.
I'm using a OnePlus 6 running OxygenOS 9.07
For some reason the actual URI to the Constellation websocket is mentioned nowhere? I was able to find it by snooping around the beam-client-java source but it should probably be on the actual landing page.
So after a bit of trail and error with no luck on the baseUrl that is given from https://dev.mixer.com/rest/index.html#VOD when you request a vod from the https://dev.mixer.com/rest/index.html#recordings__recording__get or https://dev.mixer.com/rest/index.html#channels__channelId__recordings_get it would be nice to have the actual file names listed in the format explenation of the vod structure as currently there seems to be no documentation on what is the filename or extension.
I am trying to develop a chat bot for my community. I followed along with the tutorial in node.js on the website, but am unable to get a collection of the sockets that are connected to multiple channels. Is there any way that I can do that?
The documentation for GET /interactive/versions/{versionId}/analytics/performance and GET /interactive/versions/{versionId}/analytics/viewersMetrics is wrong. It says the resource is secured by channel:analytics, but it is definitely interactive:manage for both OAuth scope and resource access permission, and the HTTP 403 error response from those endpoints even says so.
Is there a way to tell node to stop listening for a command in chat after it has been used? I'm trying to make a game where viewers will answer questions in chat but node will continue to listen for the answer even after the viewer has typed their answer. I tried making the socket.on inside a function and when the viewer types their answer ending the function but that didn't work. I'm a js noob and still learning so if you could explain this as simple as possible it would be greatly appreciated.
On the /channels endpoint listing, several endpoints list the channel:update
scope as required. Per the list of OAuth scopes (and my attempts to get the scope listed in the REST endpoint list), this scope does not exist.
I would make the doc changes myself, but it looks like the "Rest Reference" is being loaded from somewhere else, per this doc page.
From https://dev.mixer.com/guides/mixplay/introduction I follow a link to https://mixer.github.io/interactive-node/ hoping to find API reference, but the content in the panel on the right seems not to have been generated. I see only setWebSocket, and no other functions.
On this same page ( https://mixer.github.io/interactive-node/ ) there's a specific reference to the "Client.open" method that links to https://mixer.github.io/interactive-node/classes/client.html#open which returns a 404, which I assume is the same issue.
Through out the docs the following appears
Please note this event may not necessarily include the entire [...] resource.
While on the surface this may seem adequate it should be clarified that only properties that have changed for the resource will be returned, even in cases where the model is nested; indicating a deep merge is required for a cached model
Further more for properties of a model that are an array/list, it should be noted that the array should replace the cached model's value for the property
An example of this is user:id:update
, assuming user.social.verified
updates, mixer will only return that change and not the full SocialInfo model:
{ social: { verified: [ /* ... */ ] } }
So the api talks about using scopes to accomplish user specific commands or mod/owner commands, how does one use scopes with the mixer api?
The UserUpdate chat event states that a permissions
and username
are passed when called.
After being unauthenticated and authenticated with the chat socket, neither are passed upon any role update.
Also mentioned in the community devs channel in the community discord.
A contributing guide
Using your tutorial code. https://dev.mixer.com/guides/chat/chatbot
On the doc it specifically says below, while trying https://mixer.com/embed/player/GrimlockePrime?muted=false or https://mixer.com/embed/player/GrimlockePrime?muted=0 or just simply ttps://mixer.com/embed/player/GrimlockePrime it doesn't make any difference.
similarly,
https://mixer.com/embed/player/GrimlockePrime?disableLowLatency=0 or https://mixer.com/embed/player/GrimlockePrime?disableLowLatency=1 does not make any difference.
Please let me know if they are working. hideChannel, disableLinks, none of these works..
only vod works.
Video Options
For the video player you can provide extra query parameters on the URL to control various settings of the embed:
disableCostream - Set this to true to prevent the Embed from displaying CoStreams.
disableLowLatency - Set this to true to disable FTL Playback. This will make the video playback in HLS instead.
muted - Set this to true to mute the video player on load.
vod - Provide a VOD Id here to Embed a VOD.
t - Provide a time here to skip to this time within the vod.
disableLinks - Set this to true to prevent links within the Embed.
hideChannel - Set this to true to hide the channel/"Watch on Mixer" link for this embed.
in java i try to compile my chatbot, but when i try tu execute netbeans throw the net message
Exception in thread "main" java.util.concurrent.ExecutionException: com.mixer.api.http.HttpBadResponseException
some help please?
Something weird is happening and we're hotlinking into the user folder we shouldn't be doing that.
Im having difficulties checking if a user has followed the desired channel, everytime that i run 'get' for '/channels/channelid/follow' i get a shortened list of the users that follow, how would i get the full list of just check if the user is following?
Auth-related changes from fa76b08 to pages/01.guides/02.chat/02.ChatBot/doc.md
needs to be reverted.
Lines 326 and 400 should go back to MixerAPI mixer = new MixerAPI("Click here to get your Client ID!", "Click here to get your Token!");
...oopsie...
Originally posted by @iDiffusion in #19 (comment)
On the Core - Basic Tutorial page, on the first paragraph you may want to edit: "which shows the tells the user their rank".
The notice
design block is yellow with white text. This offers poor contrast.
Example: https://dev.mixer.com/reference/oauth#using-oauth
The text in these boxes (and especially in the case of the example) is often very important and should be easy to read and follow, especially by novice developers.
Suggested solution: Use a much darker background color instead of yellow, or a dark text color.
Hi! I'm having an issue when embedding mixplay through an iframe. According to the documentation, I should be able to use https://mixer.com/embed/player/[CHANNEL]?mixplay=true
to show mixplay controls below the player. This seems to work fine when going to that url directly, but when embedding inside an iframe, the mixplay controls do not show.
The same is the case when embedding only the controls with https://mixer.com/embed/controls/[CHANNEL]
. Going to the URL directly in the browser shows the controls just fine, but when putting it inside an iframe, controls are missing.
Here's an example: https://jsfiddle.net/eynojwba/
reccomend is spelled wrong. It should be "recommend"
Places:
pages/02.reference/01.chat/05.ChatChattersList/doc.md
CONTRIBUTING.md
While using the mixer live stream URL in my site and I'm facing few console errors from mixer API
When I go to the URL https://mixer.com/browse/games/568925/call-of-duty-modern-warfare
This issue not only to call of duty game almost all the games.
If I type something in the search box and then click away, it's hard to get my results back.
SVG's are broken somehow
In order to interact with the costream i believe i need someway to obtain the costream id, how does one obtain this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.