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

https://github.com/cherry/shieldsio-steam-workshop

Shields.io endpoint to display subscribers/favourites on a Steam Workshop addon
https://github.com/cherry/shieldsio-steam-workshop

shields shields-endpoint shieldsio shieldsio-endpoint

Last synced: 3 months ago
JSON representation

Shields.io endpoint to display subscribers/favourites on a Steam Workshop addon

Awesome Lists containing this project

README

          

# shields.io for [Steam Workshop Addons](https://steamcommunity.com/workshop/) Steam Workshop downloads
This is a custom endpoint to allow the display of Steam Workshop addon statistics, such as subcriptions, and favourites. It makes use of [shields.io's Endpoint feature](https://shields.io/#/endpoint).

## Usage
- Endpoint: `https://shieldsio-steam-workshop.jross.me/109643223`
- Endpoint encoded: `https%3A%2F%2Fshieldsio-steam-workshop.jross.me%2F109643223`
- Using shields.io `endpoint`/`url`: `https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-steam-workshop.jross.me%2F109643223&style=for-the-badge`
- Result: Steam Workshop downloads

The endpoint expects an ID, and then an optional type such as `subscriptions`, or `favourites`. Examples can be seen below.

See [shields.io's endpoint](https://shields.io/#/endpoint) for full documentation.

## Examples
Show total unique number of subcribers:
```
https://shieldsio-steam-workshop.jross.me/109643223
```
Steam Workshop downloads

Show total unique number of subcribers (with text):
```
https://shieldsio-steam-workshop.jross.me/109643223/subscriptions-text
```
Steam Workshop downloads

Show total number of times the addon has been favourited:
```
https://shieldsio-steam-workshop.jross.me/109643223/favourites
```
Steam Workshop favourites

Show total number of times the addon has been favourited (with text):
```
https://shieldsio-steam-workshop.jross.me/109643223/favourites-text
```
Steam Workshop favourites