https://github.com/keizerdev/chromecast-api
A restfull api for the Chromecast to easily control it
https://github.com/keizerdev/chromecast-api
Last synced: 3 days ago
JSON representation
A restfull api for the Chromecast to easily control it
- Host: GitHub
- URL: https://github.com/keizerdev/chromecast-api
- Owner: KeizerDev
- Created: 2016-02-22T14:24:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-22T16:16:21.000Z (over 10 years ago)
- Last Synced: 2025-11-10T12:22:30.179Z (7 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chromecast-api
Just a chromecast rest api to make the implementation easier for other programs.
## Build
```
$ pip install -r requirements.txt
$ ./main.py # localhost:5000
```
## Endpoints
```
GET /devices
```
Shows an array of the available chromecasts(`chromecast_name`) in a local network.
```
GET /devices/:chromecast_name
```
Shows info about the chromecast and if it is reachable. If not it throws a `404`.
```
GET /devices/:chromecast_name/media/:url
```
Starts playing the given URIdecoded `url` on `chromecast_name`.