dev-master
9999999-dev
MIT
The Requires
- koraktor/steam-condenser ^1.3
- symfony/var-dumper ^3.0
- guzzlehttp/guzzle ^6.2
- symfony/yaml ^3.0
- symfony/finder ^3.0
by Ivan Pepelko
Wallogit.com
2017 © Pedro Peláez
Install with composer: composer require ivanpepelko/steamkit, (*1)
Setup your config file(see Config section) and run: vendor/bin/steamkit generate-api, (*2)
Create config.yml file in root directory of your project or pass --config parameter to console utility to read from custom config file.
Only yaml/yml format is supported currently., (*3)
#config resides in steamkit section
steamkit:
# your Steam Web API key
apikey: ~
# response from steam api is associative array or objects
assoc: true
To generate Steam Web API classes: php vendor/bin/steamkit generate-api, (*4)
Short Long Description -c --config Custom config file. Default config file is config.yml in the root directory of project. -f --fix Run php-cs-fixer on generated files after generation.
Example for Symfony 3 users (if values are provided in default config file):
php vendor/bin/generate-api generate --config app/config/config.yml, (*5)
MIT