Jump to content

Search the Community

Showing results for tags 'invidious api'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Wiki page: https://en.wikipedia.org/wiki/Invidious Website: https://invidious.io/ API docs: https://docs.invidious.io/api/ By sending requests to Invidious API, you can get various information about YouTube videos, such as title, description, subtitles, available formats, direct links, and much more. #include "JSON.au3" ;URL for sorted JSON list of API instances Const $INVAPI_INSTANCE_LIST_URL = "https://api.invidious.io/instances.json?sort_by=type,api,users" ;Get list of API instances $sResponse = BinaryToString(InetRead($INVAPI_INSTANCE_LIST_URL)) ;Parse response and get first URL from list $sFirstInstanceURL = (_JSON_Parse($sResponse)[0])[1].uri ;API request Const $TEST_YOUTUBE_VIDEO_ID = "aqz-KE-bpKQ" $sResponse = BinaryToString(InetRead($sFirstInstanceURL & "/api/v1/videos/" & $TEST_YOUTUBE_VIDEO_ID & "?fields=videoId,title,description")) ;Parse response and output it $JsonData = _JSON_Parse($sResponse) MsgBox(64, "Info", _ "Video ID: <" & ($JsonData).videoId & ">" & @CRLF & @CRLF & _ "Title: <" & ($JsonData).title & ">" & @CRLF & @CRLF & _ "Description: <" & ($JsonData).description & ">") For this example I used AspirinJunkie's JSON UDF.
×
×
  • Create New...