FronkonGames commited on
Commit
502eabd
1 Parent(s): f452689

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +94 -1
README.md CHANGED
@@ -11,7 +11,100 @@ pretty_name: Steam Games Dataset
11
  size_categories:
12
  - 10K<n<100K
13
  ---
 
 
 
 
14
 
15
  This dataset has been created with [this code (MIT)](https://github.com/FronkonGames/Steam-Games-Scraper) and use the API provided by Steam, the largest gaming platform on PC. Data is also collected from Steam Spy.
16
 
17
- Only games (no DLCs, episodes, music, videos, etc) currently released have been added.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  size_categories:
12
  - 10K<n<100K
13
  ---
14
+ <p align="center"><img src="banner.png"/></p>
15
+ <br>
16
+
17
+ Information of more than 83,000 games published on Steam. Only games (no DLCs, episodes, music, videos, etc) currently released have been added.
18
 
19
  This dataset has been created with [this code (MIT)](https://github.com/FronkonGames/Steam-Games-Scraper) and use the API provided by Steam, the largest gaming platform on PC. Data is also collected from Steam Spy.
20
 
21
+ The data is in two formats: CSV and JSON. Here is a simple example of how to parse json:
22
+
23
+ ```
24
+ import os
25
+ import json
26
+
27
+ dataset = {}
28
+ if os.path.exists('games.json'):
29
+ with open('games.json', 'r', encoding='utf-8') as fin:
30
+ text = fin.read()
31
+ if len(text) > 0:
32
+ dataset = json.loads(text)
33
+
34
+ for app in dataset:
35
+ appID = app # AppID, unique identifier for each app (string).
36
+ game = dataset[app]
37
+
38
+ name = game['name'] # Game name (string).
39
+ releaseDate = game['release_date'] # Release date (string).
40
+ estimatedOwners = game['estimated_owners'] # Estimated owners (string, e.g.: "0 - 20000").
41
+ peakCCU = game['peak_ccu'] # Number of concurrent users, yesterday (int).
42
+ required_age = game['required_age'] # Age required to play, 0 if it is for all audiences (int).
43
+ price = game['price'] # Price in USD, 0.0 if its free (float).
44
+ dlcCount = game['dlc_count'] # Number of DLCs, 0 if you have none (int).
45
+ longDesc = game['detailed_description'] # Detailed description of the game (string).
46
+ shortDesc = game['short_description'] # Brief description of the game,
47
+ # does not contain HTML tags (string).
48
+ languages = game['supported_languages'] # Comma-separated enumeration of supporting languages.
49
+ fullAudioLanguages = game['full_audio_languages'] # Comma-separated enumeration of languages with audio support.
50
+ reviews = game['reviews'] #
51
+ headerImage = game['header_image'] # Header image URL in the store (string).
52
+ website = game['website'] # Game website (string).
53
+ supportWeb = game['support_url'] # Game support URL (string).
54
+ supportEmail = game['support_email'] # Game support email (string).
55
+ supportWindows = game['windows'] # Does it support Windows? (bool).
56
+ supportMac = game['mac'] # Does it support Mac? (bool).
57
+ supportLinux = game['linux'] # Does it support Linux? (bool).
58
+ metacriticScore = game['metacritic_score'] # Metacritic score, 0 if it has none (int).
59
+ metacriticURL = game['metacritic_url'] # Metacritic review URL (string).
60
+ userScore = game['user_score'] # Users score, 0 if it has none (int).
61
+ positive = game['positive'] # Positive votes (int).
62
+ negative = game['negative'] # Negative votes (int).
63
+ scoreRank = game['score_rank'] # Score rank of the game based on user reviews (string).
64
+ achievements = game['achievements'] # Number of achievements, 0 if it has none (int).
65
+ recommens = game['recommendations'] # User recommendations, 0 if it has none (int).
66
+ notes = game['notes'] # Extra information about the game content (string).
67
+ averagePlaytime = game['average_playtime_forever'] # Average playtime since March 2009, in minutes (int).
68
+ averageplaytime2W = game['average_playtime_2weeks'] # Average playtime in the last two weeks, in minutes (int).
69
+ medianPlaytime = game['median_playtime_forever'] # Median playtime since March 2009, in minutes (int).
70
+ medianPlaytime2W = game['median_playtime_2weeks'] # Median playtime in the last two weeks, in minutes (int).
71
+
72
+ packages = game['packages'] # Available packages.
73
+ for pack in packages:
74
+ title = pack['title'] # Package title (string).
75
+ packDesc = pack['description'] # Package description (string).
76
+
77
+ subs = pack['subs'] # Subpackages.
78
+ for sub in subs:
79
+ text = sub['text'] # Subpackage title (string).
80
+ subDesc = sub['description'] # Subpackage description (string).
81
+ subPrice = sub['price'] # Subpackage price in USD (float).
82
+
83
+ developers = game['developers'] # Game developers.
84
+ for developer in developers:
85
+ developerName = developer # Developer name (string).
86
+
87
+ publishers = game['publishers'] # Game publishers.
88
+ for publisher in publishers:
89
+ publisherName = publisher # Publisher name (string).
90
+
91
+ categories = game['categories'] # Game categories.
92
+ for category in categories:
93
+ categoryName = category # Category name (string).
94
+
95
+ genres = game['genres'] # Game genres.
96
+ for gender in genres:
97
+ genderName = gender # Gender name (string).
98
+
99
+ screenshots = game['scrennshots'] # Game screenshots.
100
+ for screenshot in screenshots:
101
+ scrennshotsURL = screenshot # Game screenshot URL (string).
102
+
103
+ movies = game['movies'] # Game movies.
104
+ for movie in movies:
105
+ movieURL = movie # Game movie URL (string).
106
+
107
+ tags = game['tags'] # Tags.
108
+ for tag in tags:
109
+ tagKey = tag # Tag key (string, int).
110
+ ```