<h1 align="center">IYoutube</h1>

<p align=center>
  <i>
    The ultimate dirty API Client for the internal YouTube API (Innertube API) with a big and growing coverage of actions and endpoints
  </i>
<p>

#### Features
- Video information and statistics fetching
- Playlist information and videos
- Search functions (with type filters)
- Like & subscriptions API coverage (videos, channels, playlists)
- Comment API coverage (partial, only for videos)
- Simple User Authentication using OAuth2 (allows Private Videos) <b>*1</b>
- Built on one of the latest versions
- Typescript types (for most things)
- Support for a wide variety of plattforms, due to optional adapter support for HTTP fetching and storage access

<b>*1 This does not require an API Key. It uses extracted keys from the YouTube TV App.</b>

#### Usage

###### Please look at the Basic [Example](./test/test.js)

#### To-Do
I will do my best to keep up the work on this project, any pull requests or contributions in any way (e.g feature suggestions) are welcome.  

[Current Todo List](./todo.md)

<b>This API was originally designed for [IonicTube](https://github.com/ToBiDi0410/IonicTube) (an alternative YT App)</b>
#### Credits
- @pytube for the authentication method: https://github.com/pytube/pytube
- @ytdl-org for the consent confirmation: https://github.com/ytdl-org/youtube-dl/
- @Microsoft with Visual Studio Code for development: https://code.visualstudio.com/
- @Google for their API and Chrome Dev Tools to analyse it :)
- @TeamNewPipe for the signature code (from: https://github.com/TeamNewPipe/NewPipeExtractor)
- @Anarios for the Return-YT-Dislike API (https://github.com/Anarios/return-youtube-dislike)
- @Ajayyy for the Sponsorblock API (https://sponsor.ajay.app/)

#### Disclaimers
- This project is not affiliated or linked to Google/YouTube in any way
- This project does not contain any unofficial source code
- This project is created for educational use only!
- All mentioned brands and trademarks (e.g "Google" & "YouTube") are the property of their lawful owners
