!yAXokUArOJxHEACeib:pussthecat.org

Invidious

653 Members
https://invidious.io/ | Instances: https://instances.invidious.io/ | Documentation: https://docs.invidious.io | SourceCode: https://git.invidious.io | Instances API: https://api.invidious.io/ | ToDo: https://todo.invidious.io/ | Bridged to #invidious on Libera.Chat134 Servers

Load older messages


SenderMessageTime
10 Apr 2024
@weidenwiesel:matrix.org@weidenwiesel:matrix.orgI dont think there is an API for users19:27:56
@weidenwiesel:matrix.org@weidenwiesel:matrix.orgCheck the source code: https://github.com/iv-org/invidious/tree/master/src/invidious/routes/api/v119:28:07
@weidenwiesel:matrix.org@weidenwiesel:matrix.orgYT users != Invidious users19:28:22
@weidenwiesel:matrix.org@weidenwiesel:matrix.orgAPI docs: https://docs.invidious.io/api/19:29:12
@daknig:matrix.org@daknig:matrix.orgyes I did not find it there so I asked19:29:24
@weidenwiesel:matrix.org@weidenwiesel:matrix.orgLike I said, Invidious does not use Google Accounts as users19:29:54
@weidenwiesel:matrix.org@weidenwiesel:matrix.orgSo there is nothing to query19:30:06
@daknig:matrix.org@daknig:matrix.orgyes but can it not uh, do API call to youtube to resolve that?19:30:31
@daknig:matrix.org@daknig:matrix.orgturns out invidious does make it work somehow19:30:58
@daknig:matrix.org@daknig:matrix.orgI do not know how but it works19:31:04
@weidenwiesel:matrix.org@weidenwiesel:matrix.orgWhat do you mean by make it work? Invidious doesn't even use the YT API, its basically "just a web client" 19:31:56
@absidue:matrix.orgabsidue
In reply to @daknig:matrix.org
what do I do?
{instance}/api/v1/resolveurl?url={full youtube url}
19:32:14
@daknig:matrix.org@daknig:matrix.org
In reply to @absidue:matrix.org
{instance}/api/v1/resolveurl?url={full youtube url}
cannot see that in the API docs
19:32:56
@daknig:matrix.org@daknig:matrix.org https://docs.invidious.io/api/ <- here i mean 19:33:16
@absidue:matrix.orgabsidue
In reply to @daknig:matrix.org
cannot see that in the API docs
yep, which is why you weren't able to find it, hence why i'm mentioning it here, the api docs are far behind, the prs to update them haven't been merged yet
19:33:45
@daknig:matrix.org@daknig:matrix.orgI see, thanks19:34:08
@absidue:matrix.orgabsidue unironically the best place to find info is the freetube repo 19:34:30
@weidenwiesel:matrix.org@weidenwiesel:matrix.orgThat's golden19:35:01
@weidenwiesel:matrix.org@weidenwiesel:matrix.orgBut understandable, there are already so many other things to do19:35:25
@daknig:matrix.org@daknig:matrix.orgwell, thanks19:37:00
@daknig:matrix.org@daknig:matrix.orgI wish the API bindings would catch up, but I wish the docs are updated first...19:37:24
@absidue:matrix.orgabsidue
In reply to @absidue:matrix.org
unironically the best place to find info is the freetube repo
In this case it's a good place to look, as the endpoint was added because we wanted to use it in FreeTube, as we already had an equivalent in the local API.
19:37:51
@absidue:matrix.orgabsidue https://github.com/iv-org/documentation/pull/501 19:39:44
@daknig:matrix.org@daknig:matrix.orgcan somebody please donate hours to the devs? if you have too many, just give them to the ones in need, the ones who would improve our lives19:42:26
@daknig:matrix.org@daknig:matrix.orgI wish it would be so easy19:42:33
@wardpearce:matrix.orgWard
In reply to @absidue:matrix.org
https://github.com/iv-org/documentation/pull/501
would it be possible to use openapi instead of manual API documentation? Or would it not be worth the effort
23:36:16
@onion.chunky:matrix.orgonion.chunky
In reply to @wardpearce:matrix.org
would it be possible to use openapi instead of manual API documentation? Or would it not be worth the effort
I was looking at using OpenAPI for the documentation but I haven't touched it in months (so some things are out of date and missing).
23:59:03
11 Apr 2024
@onion.chunky:matrix.orgonion.chunky1000023126.png
Download 1000023126.png
00:01:02
@onion.chunky:matrix.orgonion.chunkyThis is the yaml file for reference: https://github.com/ChunkyProgrammer/invidious-docs/blob/add-open-api-page/scripts/swagger.yaml00:04:31
@chromatika:matrix.org@chromatika:matrix.org left the room.00:33:07

Show newer messages


Back to Room ListRoom Version: 7