Skip to content

Commit 73b9283

Browse files
committed
create project
0 parents  commit 73b9283

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1808
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Nguyễn Phi Quốc Bảo
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Models/App/Category.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace steamapi.Models.App
2+
{
3+
public class Category
4+
{
5+
public int id { get; set; }
6+
public string description { get; set; }
7+
}
8+
}

Models/App/CurrentPlayers.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace steamapi.Models.App
2+
{
3+
public class CurrentPlayers
4+
{
5+
public int player_count { get; set; }
6+
public int result { get; set; }
7+
}
8+
}

Models/App/Game.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
namespace steamapi.Models.App
2+
{
3+
public class Game
4+
{
5+
public int appid { get; set; }
6+
public string name { get; set; }
7+
public int playtime_2weeks { get; set; }
8+
public int playtime_forever { get; set; }
9+
public string img_icon_url { get; set; }
10+
public int playtime_windows_forever { get; set; }
11+
public int playtime_mac_forever { get; set; }
12+
public int playtime_linux_forever { get; set; }
13+
public int playtime_deck_forever { get; set; }
14+
}
15+
}

Models/App/Genre.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace steamapi.Models.App
2+
{
3+
public class Genre
4+
{
5+
public string id { get; set; }
6+
public string description { get; set; }
7+
}
8+
9+
}

Models/App/Metacritic.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace steamapi.Models.App
2+
{
3+
public class Metacritic
4+
{
5+
public int score { get; set; }
6+
public string url { get; set; }
7+
}
8+
9+
}

Models/App/Movie.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
namespace steamapi.Models.App
2+
{
3+
public class Movie
4+
{
5+
public int id { get; set; }
6+
public string name { get; set; }
7+
public string thumbnail { get; set; }
8+
public MovieFormats webm { get; set; }
9+
public MovieFormats mp4 { get; set; }
10+
public bool highlight { get; set; }
11+
}
12+
}

Models/App/MovieFormats.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace steamapi.Models.App
2+
{
3+
public class MovieFormats
4+
{
5+
public string _480 { get; set; }
6+
public string max { get; set; }
7+
}
8+
}

Models/App/OwnedGame.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace steamapi.Models.App
8+
{
9+
public class OwnedGame
10+
{
11+
public int appid { get; set; }
12+
public int playtime_forever { get; set; }
13+
public int playtime_windows_forever { get; set; }
14+
public int playtime_mac_forever { get; set; }
15+
public int playtime_linux_forever { get; set; }
16+
public int playtime_deck_forever { get; set; }
17+
public long rtime_last_played { get; set; }
18+
public int playtime_disconnected { get; set; }
19+
}
20+
}

Models/App/OwnedGames.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace steamapi.Models.App
8+
{
9+
public class OwnedGames
10+
{
11+
public int game_count { get; set; }
12+
public List<OwnedGame> games { get; set; }
13+
}
14+
}

0 commit comments

Comments
 (0)