Play API

Play API

Dr.Caduceus


Play API - The API that enables you to stream any direct-downloadable link in your browser, regardless of direct-streaming support, while providing a consistent user interface across all devices.

The official API provided & used by TG Stream for generating stream links.

🌐Endpoint:
https://play.tg-drive.eu.org

🕹️How to use?

Using Play API is simple and does not require any technical expertise or programming skills. Ultimately, all we need to do is to play with URL to make it work.

URL Parameters: These are the variables containing values which are required for API to work.

  • media | m (required): The source link of video or audio file to play.
  • title | t (optional): Text to be displayed as title of the page in format "Play API | Title", by default "Play API".

Filling URL: After getting required values of given variables, we must place them in the URL in correct way to make API work.

  • Firstly, we need to pass '?' sign after '/' to start defining URL parameters.
{endpoint}/?
  • Now we should start placing our first URL parameter name and its value separated with '='.
{endpoint}/?m=medialink
  • Then, we can place more URL parameters using '&' sign to separate it from the value of previous parameter.
{endpoint}/?m=MediaLinkHere&t=TitleTextHere
  • We are done! 🎉

Demo Link:

https://play.tg-drive.eu.org/?m=https://tg-drive.eu.org/8f17c9b8db42956c275e8c9181953&t=Demo

❓FAQs:

1.Can it play any video or audio format?
Yes, the Play API supports nearly all major formats and can play them directly in your browser. However, your browser must support the file format and decoding. Attempting to play an unsupported file may result in a black screen.

2.What kind of links the API support?
The Play API supports all direct-downloadable links which don't require any HTTP authentication or human interaction.

3.I have some other doubts regarding API? where can I ask?
If you have any doubts, feel free to reach out to us on Telegram at DrDiscussion. Don’t forget to subscribe to our TG Stream and Official Channel.

Report Page