├── .gitignore ├── index.php └── readme.md /.gitignore: -------------------------------------------------------------------------------- 1 | *.save* 2 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 14 | 15 | 16 | 17 | 18 | 19 | <?php echo $id ?>'s Profile 20 | 21 | 67 | 68 | 69 | 70 | 71 |

's Profile

72 | 73 |

Built by @montyanderson

74 | 75 |
76 | " . PHP_EOL; 88 | echo ""; 91 | echo "" . PHP_EOL; 92 | 93 | echo PHP_EOL; 94 | } 95 | ?> 96 |
97 | 98 | 99 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # csgo 2 | 3 | [![GitHub issues](https://img.shields.io/github/issues-raw/montyanderson/csgo.svg)](https://github.com/montyanderson/csgo/issues) 4 | ![GitHub stars](https://img.shields.io/github/stars/montyanderson/csgo.svg?style=social&label=Star) 5 | 6 | A php-powered web page that shows a Steam user's Counter Strike: Global Offensive items. 7 | 8 | ![](http://i.imgur.com/z0daY2d.jpg) 9 | 10 | ## Hacking / Changing 11 | 12 | To use a different Steam game for the inventory, simple change the app id on line 3. 13 | 14 | ``` php 15 | "; 59 | } 60 | ``` 61 | 62 | ``` 63 | XM1014 | Blue Spruce 64 | Dual Berettas | Contractor 65 | PP-Bizon | Urban Dashed 66 | MP7 | Army Recon 67 | SCAR-20 | Sand Mesh 68 | G3SG1 | Desert Storm 69 | MAG-7 | Metallic DDPAT 70 | Operation Vanguard Weapon Case 71 | Huntsman Weapon Case 72 | MP9 | Dart 73 | Operation Breakout Weapon Case 74 | AK-47 | Redline 75 | M4A1-S | Guardian 76 | Souvenir MAG-7 | Irradiated Alert 77 | P250 | Supernova 78 | StatTrak™ Galil AR | Blue Titanium 79 | Operation Vanguard Challenge Coin 80 | ``` 81 | 82 | ### $item 83 | 84 | In the example, you can use any of the following attributes. 85 | 86 | ``` php 87 | "; 92 | } 93 | 94 | // You could use 95 | foreach($items as $item) { 96 | echo "
"; 97 | } 98 | 99 | // Please note that images must have "http://cdn.steamcommunity.com/economy/image/" prepended before $item["icon_url_large"] 100 | ``` 101 | 102 | ``` 103 | appid 104 | classid 105 | instanceid 106 | icon_url 107 | icon_url_large 108 | icon_drag_url 109 | name 110 | market_hash_name 111 | market_name 112 | name_color 113 | background_color 114 | type 115 | tradable 116 | marketable 117 | commodity 118 | market_tradable_restriction 119 | descriptions 120 | actions 121 | market_actions 122 | tags 123 | ``` 124 | --------------------------------------------------------------------------------