voorbeeld response aangepast naar engels. en de request paramater was verkeerd
This commit is contained in:
parent
89735445be
commit
717de0b5bf
162
steam_api.py
162
steam_api.py
@ -3,7 +3,7 @@ import requests
|
||||
|
||||
def getappdata(appid):
|
||||
"""
|
||||
voorbeeld json response(geen idee waarom het in het russisch is):
|
||||
voorbeeld json response:
|
||||
{
|
||||
"730": {
|
||||
"success": true,
|
||||
@ -17,20 +17,20 @@ def getappdata(appid):
|
||||
"dlc": [
|
||||
1490530
|
||||
],
|
||||
"detailed_description": "<h1>Вышло обновление</h1><p><a href=\"https://store.steampowered.com/app/1490530/CounterStrike_Global_Offensive__Operation_Broken_Fang/\" target=\"_blank\" rel=\"noreferrer\" id=\"dynamiclink_0\" >https://store.steampowered.com/app/1490530/CounterStrike_Global_Offensive__Operation_Broken_Fang/</a></p><br><h1>Об игре</h1>Counter-Strike: Global Offensive (CS: GO) возрождает ураганную командную игру, впервые представленную еще 19 лет назад.<br><br>CS: GO включает в себя новые карты, персонажей, оружие, игровые режимы, а также улучшенную версию классической составляющей CS (de_dust и т.п.). <br><br>«Counter-Strike была сюрпризом для игровой индустрии, когда не особо удачный мод стал одним из самых популярных шутеров в мире сразу же после его релиза в Августе 1999 года, — говорит Даг Ломбарди из Valve, — за прошедшие 12 лет, она все еще одна из самых популярных в мире игр, часто появляется на игровых соревнованиях и продана в количестве более 25 миллионов копий по всему миру. CS: GO обещает возродить знаменитый игровой процесс Counter-Strike и предложить его игрокам не только на ПК, но и на консолях следующего поколения и компьютерах Mac».",
|
||||
"about_the_game": "Counter-Strike: Global Offensive (CS: GO) возрождает ураганную командную игру, впервые представленную еще 19 лет назад.<br />\r\n<br />\r\nCS: GO включает в себя новые карты, персонажей, оружие, игровые режимы, а также улучшенную версию классической составляющей CS (de_dust и т.п.). <br />\r\n<br />\r\n«Counter-Strike была сюрпризом для игровой индустрии, когда не особо удачный мод стал одним из самых популярных шутеров в мире сразу же после его релиза в Августе 1999 года, — говорит Даг Ломбарди из Valve, — за прошедшие 12 лет, она все еще одна из самых популярных в мире игр, часто появляется на игровых соревнованиях и продана в количестве более 25 миллионов копий по всему миру. CS: GO обещает возродить знаменитый игровой процесс Counter-Strike и предложить его игрокам не только на ПК, но и на консолях следующего поколения и компьютерах Mac».",
|
||||
"short_description": "Counter-Strike: Global Offensive (CS: GO) возрождает ураганную командную игру, впервые представленную еще 19 лет назад. CS: GO включает в себя новые карты, персонажей, оружие, игровые режимы, а также улучшенную версию классической составляющей CS (de_dust и т.п.).",
|
||||
"supported_languages": "чешский, датский, нидерландский, английский<strong>*</strong>, финский, французский, немецкий, венгерский, итальянский, японский, корейский, норвежский, польский, португальский, бр. португальский, румынский, русский, китайский (упр.), испанский, шведский, тайский, китайский (трад.), турецкий, болгарский, украинский, греческий, испанский Лат. Ам., вьетнамский<br><strong>*</strong>озвучивание доступно на этих языках",
|
||||
"detailed_description": "<h1>Just Updated</h1><p><a href=\"https://store.steampowered.com/app/1490530/CounterStrike_Global_Offensive__Operation_Broken_Fang/\" target=\"_blank\" rel=\"noreferrer\" id=\"dynamiclink_0\" >https://store.steampowered.com/app/1490530/CounterStrike_Global_Offensive__Operation_Broken_Fang/</a></p><br><h1>About the Game</h1>Counter-Strike: Global Offensive (CS: GO) expands upon the team-based action gameplay that it pioneered when it was launched 19 years ago.<br><br>CS: GO features new maps, characters, weapons, and game modes, and delivers updated versions of the classic CS content (de_dust2, etc.).<br><br>"Counter-Strike took the gaming industry by surprise when the unlikely MOD became the most played online PC action game in the world almost immediately after its release in August 1999," said Doug Lombardi at Valve. "For the past 12 years, it has continued to be one of the most-played games in the world, headline competitive gaming tournaments and selling over 25 million units worldwide across the franchise. CS: GO promises to expand on CS' award-winning gameplay and deliver it to gamers on the PC as well as the next gen consoles and the Mac."",
|
||||
"about_the_game": "Counter-Strike: Global Offensive (CS: GO) expands upon the team-based action gameplay that it pioneered when it was launched 19 years ago.<br />\r\n<br />\r\nCS: GO features new maps, characters, weapons, and game modes, and delivers updated versions of the classic CS content (de_dust2, etc.).<br />\r\n<br />\r\n"Counter-Strike took the gaming industry by surprise when the unlikely MOD became the most played online PC action game in the world almost immediately after its release in August 1999," said Doug Lombardi at Valve. "For the past 12 years, it has continued to be one of the most-played games in the world, headline competitive gaming tournaments and selling over 25 million units worldwide across the franchise. CS: GO promises to expand on CS' award-winning gameplay and deliver it to gamers on the PC as well as the next gen consoles and the Mac."",
|
||||
"short_description": "Counter-Strike: Global Offensive (CS: GO) expands upon the team-based action gameplay that it pioneered when it was launched 19 years ago. CS: GO features new maps, characters, weapons, and game modes, and delivers updated versions of the classic CS content (de_dust2, etc.).",
|
||||
"supported_languages": "Czech, Danish, Dutch, English<strong>*</strong>, Finnish, French, German, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Portuguese - Brazil, Romanian, Russian, Simplified Chinese, Spanish - Spain, Swedish, Thai, Traditional Chinese, Turkish, Bulgarian, Ukrainian, Greek, Spanish - Latin America, Vietnamese<br><strong>*</strong>languages with full audio support",
|
||||
"header_image": "https://steamcdn-a.akamaihd.net/steam/apps/730/header.jpg?t=1610576424",
|
||||
"website": "http://blog.counter-strike.net/",
|
||||
"pc_requirements": {
|
||||
"minimum": "<strong>Минимальные:</strong><br><ul class=\"bb_ul\"><li><strong>ОС:</strong> Windows® 7/Vista/XP<br></li><li><strong>Процессор:</strong> Intel® Core™ 2 Duo E6600 or AMD Phenom™ X3 8750 processor or better<br></li><li><strong>Оперативная память:</strong> 2 GB ОЗУ<br></li><li><strong>Видеокарта:</strong> Video card must be 256 MB or more and should be a DirectX 9-compatible with support for Pixel Shader 3.0<br></li><li><strong>DirectX:</strong> Версии 9.0c<br></li><li><strong>Место на диске:</strong> 15 GB</li></ul>"
|
||||
"minimum": "<strong>Minimum:</strong><br><ul class=\"bb_ul\"><li><strong>OS:</strong> Windows® 7/Vista/XP<br></li><li><strong>Processor:</strong> Intel® Core™ 2 Duo E6600 or AMD Phenom™ X3 8750 processor or better<br></li><li><strong>Memory:</strong> 2 GB RAM<br></li><li><strong>Graphics:</strong> Video card must be 256 MB or more and should be a DirectX 9-compatible with support for Pixel Shader 3.0<br></li><li><strong>DirectX:</strong> Version 9.0c<br></li><li><strong>Storage:</strong> 15 GB available space</li></ul>"
|
||||
},
|
||||
"mac_requirements": {
|
||||
"minimum": "<strong>Минимальные:</strong><br><ul class=\"bb_ul\"><li><strong>ОС:</strong> MacOS X 10.11 (El Capitan) or later<br></li><li><strong>Процессор:</strong> Intel Core Duo Processor (2GHz or better)<br></li><li><strong>Оперативная память:</strong> 2 GB ОЗУ<br></li><li><strong>Видеокарта:</strong> ATI Radeon HD 2400 or better / NVidia 8600M or better<br></li><li><strong>Место на диске:</strong> 15 GB</li></ul>"
|
||||
"minimum": "<strong>Minimum:</strong><br><ul class=\"bb_ul\"><li><strong>OS:</strong> MacOS X 10.11 (El Capitan) or later<br></li><li><strong>Processor:</strong> Intel Core Duo Processor (2GHz or better)<br></li><li><strong>Memory:</strong> 2 GB RAM<br></li><li><strong>Graphics:</strong> ATI Radeon HD 2400 or better / NVidia 8600M or better<br></li><li><strong>Storage:</strong> 15 GB available space</li></ul>"
|
||||
},
|
||||
"linux_requirements": {
|
||||
"minimum": "<strong>Минимальные:</strong><br><ul class=\"bb_ul\"><li><strong>ОС:</strong> Ubuntu 12.04<br></li><li><strong>Процессор:</strong> 64-bit Dual core from Intel or AMD at 2.8 GHz<br></li><li><strong>Оперативная память:</strong> 4 GB ОЗУ<br></li><li><strong>Видеокарта:</strong> nVidia GeForce 8600/9600GT, ATI/AMD Radeon HD2600/3600 (Graphic Drivers: nVidia 310, AMD 12.11), OpenGL 2.1<br></li><li><strong>Место на диске:</strong> 15 GB<br></li><li><strong>Звуковая карта:</strong> OpenAL Compatible Sound Card</li></ul>"
|
||||
"minimum": "<strong>Minimum:</strong><br><ul class=\"bb_ul\"><li><strong>OS:</strong> Ubuntu 12.04<br></li><li><strong>Processor:</strong> 64-bit Dual core from Intel or AMD at 2.8 GHz<br></li><li><strong>Memory:</strong> 4 GB RAM<br></li><li><strong>Graphics:</strong> nVidia GeForce 8600/9600GT, ATI/AMD Radeon HD2600/3600 (Graphic Drivers: nVidia 310, AMD 12.11), OpenGL 2.1<br></li><li><strong>Storage:</strong> 15 GB available space<br></li><li><strong>Sound Card:</strong> OpenAL Compatible Sound Card</li></ul>"
|
||||
},
|
||||
"developers": [
|
||||
"Valve",
|
||||
@ -47,18 +47,18 @@ def getappdata(appid):
|
||||
"package_groups": [
|
||||
{
|
||||
"name": "default",
|
||||
"title": "Купить Counter-Strike: Global Offensive",
|
||||
"title": "Buy Counter-Strike: Global Offensive",
|
||||
"description": "",
|
||||
"selection_text": "Выберите способ покупки",
|
||||
"selection_text": "Select a purchase option",
|
||||
"save_text": "",
|
||||
"display_type": 0,
|
||||
"is_recurring_subscription": "false",
|
||||
"subs": [
|
||||
{
|
||||
"packageid": 298963,
|
||||
"percent_savings_text": ": ",
|
||||
"percent_savings_text": " ",
|
||||
"percent_savings": 0,
|
||||
"option_text": "Counter-Strike: Global Offensive - Бесплатно",
|
||||
"option_text": "Counter-Strike: Global Offensive - Free",
|
||||
"option_description": "",
|
||||
"can_get_free_license": "0",
|
||||
"is_free_license": true,
|
||||
@ -66,13 +66,13 @@ def getappdata(appid):
|
||||
},
|
||||
{
|
||||
"packageid": 54029,
|
||||
"percent_savings_text": ": ",
|
||||
"percent_savings_text": " ",
|
||||
"percent_savings": 0,
|
||||
"option_text": "CS:GO Prime Status Upgrade - 1020 pуб.",
|
||||
"option_text": "CS:GO Prime Status Upgrade - 13,25€",
|
||||
"option_description": "",
|
||||
"can_get_free_license": "0",
|
||||
"is_free_license": false,
|
||||
"price_in_cents_with_discount": 102000
|
||||
"price_in_cents_with_discount": 1325
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -89,47 +89,47 @@ def getappdata(appid):
|
||||
"categories": [
|
||||
{
|
||||
"id": 1,
|
||||
"description": "Для нескольких игроков"
|
||||
"description": "Multi-player"
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"description": "Достижения Steam"
|
||||
"description": "Steam Achievements"
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"description": "Контроллер (полностью)"
|
||||
"description": "Full controller support"
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"description": "Коллекционные карточки"
|
||||
"description": "Steam Trading Cards"
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"description": "Мастерская Steam"
|
||||
"description": "Steam Workshop"
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"description": "Покупки внутри приложения"
|
||||
"description": "In-App Purchases"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"description": "Имеется античит Valve"
|
||||
"description": "Valve Anti-Cheat enabled"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"description": "Статистика"
|
||||
"description": "Stats"
|
||||
},
|
||||
{
|
||||
"id": 41,
|
||||
"description": "Remote Play на телефоне"
|
||||
"description": "Remote Play on Phone"
|
||||
},
|
||||
{
|
||||
"id": 42,
|
||||
"description": "Remote Play на планшете"
|
||||
"description": "Remote Play on Tablet"
|
||||
},
|
||||
{
|
||||
"id": 43,
|
||||
"description": "Remote Play на телевизоре"
|
||||
"description": "Remote Play on TV"
|
||||
}
|
||||
],
|
||||
"genres": [
|
||||
@ -139,7 +139,7 @@ def getappdata(appid):
|
||||
},
|
||||
{
|
||||
"id": "37",
|
||||
"description": "Бесплатно"
|
||||
"description": "Free to Play"
|
||||
}
|
||||
],
|
||||
"screenshots": [
|
||||
@ -235,44 +235,16 @@ def getappdata(appid):
|
||||
"highlight": true
|
||||
},
|
||||
{
|
||||
"id": 2028288,
|
||||
"name": "CS: GO Pro Tip Series: TM",
|
||||
"thumbnail": "https://steamcdn-a.akamaihd.net/steam/apps/2028288/movie.293x165.jpg?t=1554409287",
|
||||
"id": 2028283,
|
||||
"name": "CS: GO Pro Tip Series: nEiLZiNHo",
|
||||
"thumbnail": "https://steamcdn-a.akamaihd.net/steam/apps/2028283/movie.293x165.jpg?t=1554409264",
|
||||
"webm": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028288/movie480.webm?t=1554409287",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028288/movie_max.webm?t=1554409287"
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028283/movie480.webm?t=1554409264",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028283/movie_max.webm?t=1554409264"
|
||||
},
|
||||
"mp4": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028288/movie480.mp4?t=1554409287",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028288/movie_max.mp4?t=1554409287"
|
||||
},
|
||||
"highlight": false
|
||||
},
|
||||
{
|
||||
"id": 2028287,
|
||||
"name": "CS: GO Pro Tip Series: sapphiRe",
|
||||
"thumbnail": "https://steamcdn-a.akamaihd.net/steam/apps/2028287/movie.293x165.jpg?t=1554409281",
|
||||
"webm": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028287/movie480.webm?t=1554409281",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028287/movie_max.webm?t=1554409281"
|
||||
},
|
||||
"mp4": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028287/movie480.mp4?t=1554409281",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028287/movie_max.mp4?t=1554409281"
|
||||
},
|
||||
"highlight": false
|
||||
},
|
||||
{
|
||||
"id": 2028286,
|
||||
"name": "CS: GO Pro Tip Series: AZK",
|
||||
"thumbnail": "https://steamcdn-a.akamaihd.net/steam/apps/2028286/movie.293x165.jpg?t=1554409276",
|
||||
"webm": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028286/movie480.webm?t=1554409276",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028286/movie_max.webm?t=1554409276"
|
||||
},
|
||||
"mp4": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028286/movie480.mp4?t=1554409276",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028286/movie_max.mp4?t=1554409276"
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028283/movie480.mp4?t=1554409264",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028283/movie_max.mp4?t=1554409264"
|
||||
},
|
||||
"highlight": false
|
||||
},
|
||||
@ -291,16 +263,44 @@ def getappdata(appid):
|
||||
"highlight": false
|
||||
},
|
||||
{
|
||||
"id": 2028283,
|
||||
"name": "CS: GO Pro Tip Series: nEiLZiNHo",
|
||||
"thumbnail": "https://steamcdn-a.akamaihd.net/steam/apps/2028283/movie.293x165.jpg?t=1554409264",
|
||||
"id": 2028286,
|
||||
"name": "CS: GO Pro Tip Series: AZK",
|
||||
"thumbnail": "https://steamcdn-a.akamaihd.net/steam/apps/2028286/movie.293x165.jpg?t=1554409276",
|
||||
"webm": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028283/movie480.webm?t=1554409264",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028283/movie_max.webm?t=1554409264"
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028286/movie480.webm?t=1554409276",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028286/movie_max.webm?t=1554409276"
|
||||
},
|
||||
"mp4": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028283/movie480.mp4?t=1554409264",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028283/movie_max.mp4?t=1554409264"
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028286/movie480.mp4?t=1554409276",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028286/movie_max.mp4?t=1554409276"
|
||||
},
|
||||
"highlight": false
|
||||
},
|
||||
{
|
||||
"id": 2028287,
|
||||
"name": "CS: GO Pro Tip Series: sapphiRe",
|
||||
"thumbnail": "https://steamcdn-a.akamaihd.net/steam/apps/2028287/movie.293x165.jpg?t=1554409281",
|
||||
"webm": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028287/movie480.webm?t=1554409281",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028287/movie_max.webm?t=1554409281"
|
||||
},
|
||||
"mp4": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028287/movie480.mp4?t=1554409281",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028287/movie_max.mp4?t=1554409281"
|
||||
},
|
||||
"highlight": false
|
||||
},
|
||||
{
|
||||
"id": 2028288,
|
||||
"name": "CS: GO Pro Tip Series: TM",
|
||||
"thumbnail": "https://steamcdn-a.akamaihd.net/steam/apps/2028288/movie.293x165.jpg?t=1554409287",
|
||||
"webm": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028288/movie480.webm?t=1554409287",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028288/movie_max.webm?t=1554409287"
|
||||
},
|
||||
"mp4": {
|
||||
"480": "http://steamcdn-a.akamaihd.net/steam/apps/2028288/movie480.mp4?t=1554409287",
|
||||
"max": "http://steamcdn-a.akamaihd.net/steam/apps/2028288/movie_max.mp4?t=1554409287"
|
||||
},
|
||||
"highlight": false
|
||||
},
|
||||
@ -340,50 +340,50 @@ def getappdata(appid):
|
||||
"total": 167,
|
||||
"highlighted": [
|
||||
{
|
||||
"name": "Кто-нибудь, поставьте бомбу",
|
||||
"name": "Someone Set Up Us The Bomb",
|
||||
"path": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/730/9f60ea3c56b4ab248ab598bbd62568b953116301.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Путь разрушения",
|
||||
"name": "Boomala Boomala",
|
||||
"path": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/730/325ccbd68e599083c1597fd90dc6d4265d1ca3b4.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Взрыва не будет",
|
||||
"name": "The Hurt Blocker",
|
||||
"path": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/730/9b8627953feca51a56f0c2ac871493c8634a1c07.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Сборщик тел",
|
||||
"name": "Body Bagger",
|
||||
"path": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/730/b11ef0453168cd3d10684e184004f71dcc0faa82.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Санитар",
|
||||
"name": "Corpseman",
|
||||
"path": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/730/60d83a42df84fa5d84910af681370579e3bb16bf.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Бог войны",
|
||||
"name": "God of War",
|
||||
"path": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/730/2c2bb56a4f7376b53eeaf8e6d84044460b0d1cf2.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Едва успели",
|
||||
"name": "Second to None",
|
||||
"path": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/730/986a53e24114699cb1f230f52b55b27e0de28ecf.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Анти-спецназовец",
|
||||
"name": "Counter-Counter-Terrorist",
|
||||
"path": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/730/c09cb3fe34841fd1000a48c3b7825c4fde026188.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Ради правосудия",
|
||||
"name": "Rite of First Defusal",
|
||||
"path": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/730/b2027dac5a9883f0f145e78a33e531a58944f3ec.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Короткий фитиль",
|
||||
"name": "Short Fuse",
|
||||
"path": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/730/648550738f4845f12aa686a1b4ee8c4a51ec2348.jpg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"release_date": {
|
||||
"coming_soon": false,
|
||||
"date": "21 авг. 2012"
|
||||
"date": "21 Aug, 2012"
|
||||
},
|
||||
"support_info": {
|
||||
"url": "",
|
||||
@ -406,7 +406,7 @@ def getappdata(appid):
|
||||
except ValueError:
|
||||
return False
|
||||
|
||||
r = requests.get('http://store.steampowered.com/api/appdetails', appids=appid)
|
||||
r = requests.get('http://store.steampowered.com/api/appdetails', params={'appids': appid})
|
||||
|
||||
if r.status_code != 200:
|
||||
return False
|
||||
|
Reference in New Issue
Block a user