casttube


Namecasttube JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttp://github.com/ur1katz/casttube
SummaryYouTube chromecast api
upload_time2020-04-08 12:54:07
maintainer
docs_urlNone
authorUri Katz
requires_python
licenseMIT
keywords youtube chromecast youtube-api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CastTube

casttube provides a way to interact with the Youtube Chromecast api.

**Install:**

```
pip install casttube
```

**Features**
* Play video
* Play a playlist
* Add video to the end of the play queue
* Play next
* Remove video
* Clear the entire queue

```
from casttube import YouTubeSession
session = YouTubeSession(screen_id)

# YouTube video id is http://youtube.com/watch?v=video_id
session.play_video(video_id)
```

The library requires 2 things:
1. screen id
2. The Chromecast youtube app needs to be open

There is a small script in https://github.com/ur1katz/CastTube-Scripts to print the screen id and launch the app.





            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/ur1katz/casttube",
    "name": "casttube",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "youtube,chromecast,youtube-api",
    "author": "Uri Katz",
    "author_email": "4urikatz@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/78/54/f7e80d701c587940cf1c871fb6327b4a2682df4287896fbf9400cd0bbf21/casttube-0.2.1.tar.gz",
    "platform": "",
    "description": "# CastTube\n\ncasttube provides a way to interact with the Youtube Chromecast api.\n\n**Install:**\n\n```\npip install casttube\n```\n\n**Features**\n* Play video\n* Play a playlist\n* Add video to the end of the play queue\n* Play next\n* Remove video\n* Clear the entire queue\n\n```\nfrom casttube import YouTubeSession\nsession = YouTubeSession(screen_id)\n\n# YouTube video id is http://youtube.com/watch?v=video_id\nsession.play_video(video_id)\n```\n\nThe library requires 2 things:\n1. screen id\n2. The Chromecast youtube app needs to be open\n\nThere is a small script in https://github.com/ur1katz/CastTube-Scripts to print the screen id and launch the app.\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "YouTube chromecast api",
    "version": "0.2.1",
    "split_keywords": [
        "youtube",
        "chromecast",
        "youtube-api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "8d3daf1601bcd1544bf0ec463cbd2faa",
                "sha256": "36f118007f9eead3959cf30de03c1640b53a263569ff2a3971c0521826c835b2"
            },
            "downloads": -1,
            "filename": "casttube-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8d3daf1601bcd1544bf0ec463cbd2faa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6513,
            "upload_time": "2020-04-08T12:54:06",
            "upload_time_iso_8601": "2020-04-08T12:54:06.107414Z",
            "url": "https://files.pythonhosted.org/packages/0a/d2/0f5006892e07ea342d57dbeda46027e99a097ffb6218bee1e37f9776ed95/casttube-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "37f86084a36e0dbd72d45b0452b4b676",
                "sha256": "54d2af8c7949aa9c5db87fb11ef0a478a5d3e7ac6d2d2ac8dd1711e3a516fc82"
            },
            "downloads": -1,
            "filename": "casttube-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "37f86084a36e0dbd72d45b0452b4b676",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5182,
            "upload_time": "2020-04-08T12:54:07",
            "upload_time_iso_8601": "2020-04-08T12:54:07.745949Z",
            "url": "https://files.pythonhosted.org/packages/78/54/f7e80d701c587940cf1c871fb6327b4a2682df4287896fbf9400cd0bbf21/casttube-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-04-08 12:54:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "ur1katz",
    "github_project": "casttube",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "casttube"
}
        
Elapsed time: 0.04677s