An open API service indexing awesome lists of open source software.

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

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`.