This is a small Spring Boot Service for getting a small Steam profile widget / badge for every public Steam profile.
For easy use, you can use the generator page by putting in your SteamID64, customURL, CommunityID.
Generator Page:
For the SteamId, you can use the SteamID64, customURL, or CommunityID. Below are the details on how to use the service to generate widgets in both image and HTML formats.
To generate an image widget, use the following URL format:
https://steam-widget.com/widget/img?id=<SteamId>&purpose=<Purpose>&width=<Width>
This URL generates an image widget for the Steam user lizard_darksoul with a purpose of github_repo and a width of 350 pixels.
https://steam-widget.com/widget/img?id=lizard_darksoul&purpose=github_repo&width=350
<img src="https://steam-widget.com/widget/img?id=lizard_darksoul&purpose=github_repo&width=350">
![Steam Profile](https://steam-widget.com/widget/img?id=lizard_darksoul&purpose=github_repo&width=350)
[img]https://steam-widget.com/widget/img?id=lizard_darksoul&purpose=github_repo&width=350[/img]
To generate an HTML widget, use the following URL format:
https://steam-widget.com/widget/html?id=<SteamId>&purpose=<Purpose>
This URL generates an HTML widget for the Steam user lizard_darksoul with a purpose of github_repo.
https://steam-widget.com/widget/html?id=lizard_darksoul&purpose=github_repo
<iframe src="https://steam-widget.com/widget/html?id=lizard_darksoul&purpose=github_repo" style="border: 0" width="325" height="75"></iframe>
To get metrics about a profile, use the following URL format:
https://steam-widget.com/metric?id=<Steam64Id>
There are formats for this endpoint:
To get hit metrics about a profile, use the following URL format:
https://steam-widget.com/metric/hits?id=<Steam64Id>&purpose=<Purpose>
There are formats for this endpoint:
Copyright 2024 Felix Lerch
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.