home-assistant.io/source/_components/sensor.socialblade.markdown
Mohamad Tarbin 65ab88cd5d Add Socialblade Markdown (#5237)
* Adding markdown and imagie for USCIS sensor

* Update the markdown

* Update sensor.uscis.markdown

* Update sensor.uscis.markdown

* Update sensor.uscis.markdown

* Minor changes

* Add :markdown for social blade

* Update links

* Update links

* Update sensor.uscis.markdown

* Remove USCIS docmenetation from this branch

* Update sensor.socialblade.markdown

* Update sensor.socialblade.markdown
2018-05-05 13:07:24 -04:00

38 lines
1.2 KiB
Markdown

---
layout: page
title: Social Blade Sensor
description: "Instructions on how to set up Social Blade Sensor within Home Assistant."
date: 2018-04-23 08:00
sidebar: false
comments: false
sharing: true
footer: true
logo: socialblade.png
ha_category: Sensor
ha_release: 0.69
ha_iot_class: "Cloud Polling"
---
The `socialblade` sensor component allows you get updates on a youtube channel using your social blade channel id. The sensor gets the subscribers and total views count from [Social Blade Website]( https://socialblade.com/)
to get the channel id you can go to [Social Blade Website]( https://socialblade.com/) and search for youtube channel by username, then select the channel and grab the id from the url.
The channel id will be the last part of the url :
https://socialblade.com/youtube/channel/{channel_id}
## Example for `configuration.yaml` :
```yaml
sensor:
- platform: socialblade
channel_id: YOUR_CHANNEL_NUMBER
```
{% configuration %}
channel_id:
description: channel id number optained from the URL when you access Social Blade web client.
required: true
type: string
{% endconfiguration %}
All the data will be fetch from [Social Blade]( https://socialblade.com/).