steamgifts-api
v1.1.2
Published
![MIT License](https://img.shields.io/static/v1.svg?label=📜%20License&message=MIT&color=informational) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/sem
Downloads
6
Maintainers
Readme
Tutorial
User Profile
Receive the plubic data of a profile.
Url Endpoint
https://steamgifts-api.now.sh/profile/{userName}
Parameters:
username
: required, SteamGifts username to fetch
Response:
{
"userName": "MrMarble",
"userAvatar": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/37/37bbecdfbf90e7f55f8801d614807319bced599e_full.jpg",
"role": "Member",
"registered": 1581266719,
"comments": 18,
"giveawaysEntered": 32327,
"gifts": {
"won": {
"value": "$698.01",
"amount": {
"received": 122,
"full_value": 11,
"reduced_value": 93,
"no_value": 18,
"not_received": 2
}
},
"sent": {
"value": "$148.68",
"amount": {
"received": 32,
"full_value": 2,
"reduced_value": 27,
"no_value": 3,
"awaiting_feedback": 0,
"not_received": 0
}
}
},
"contributorLevel": 2.19
}
Giveaways
Receive the public list of current giveaways
Url Endpoint
https://steamgifts-api.now.sh/giveaways
Response:
[
{
"name": "I was here",
"giveawayLink": "https://www.steamgifts.com/giveaway/1IV05/i-was-here",
"steamLink": "https://store.steampowered.com/app/707960/",
"thumbnail": "https://steamcdn-a.akamaihd.net/steam/apps/707960/capsule_184x69.jpg",
"copies": 100,
"cost": 4,
"minimunLevel": 0,
"endDate": 1581383760,
"createDate": 1581121097,
"entries": 6,
"comments": 13,
"author": {
"name": "Legnar",
"avatar": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/ba/baf1066d416f680313b2729ee5e5e0137c9ce1f8_medium.jpg"
}
},
[...]