Retrieve and manage game data from GameFAQS.
Project description
GameFaqsPY
========
GameFaqsPY is a python package useful to retrieve and manage game data from the GameFAQS website. The package is written in pure python and provides the following game information:
* Title
* Description
* Platform
* Release Date
* Companies
* ESRB Rating
* Metascore
* User Rating (/5)
* Difficulty
* Length (hr)
* Unlockables
* Cheat Codes
Installation
------------
GameFaqsPY is conveniently available via pip:
::
pip install gamefaqs-py
or installable via ``git clone`` and ``setup.py``
::
git clone https://github.com/ryantonini/gamefaqs-py
sudo python setup.py install
Usage
-----
A code example:
.. code:: python
from gamefaqs import access
gf_access = access.GameFaqs()
first_game = gf_access.search_game("Metal Gear Solid: Peace Walker")[0]
first_game.summary()
gf_access.update(first_game, info=["general", "rating"])
print first_game["esrb"]
print first_game["metascore"]
first_company = gf_access.search_company("Microsoft")[0]
first_company.summary()
gf_access.update(first_company)
print first_company["name"]
print first_company["games"]
License
-------
GNU General Public License Version 3. See LICENSE for more details.
========
GameFaqsPY is a python package useful to retrieve and manage game data from the GameFAQS website. The package is written in pure python and provides the following game information:
* Title
* Description
* Platform
* Release Date
* Companies
* ESRB Rating
* Metascore
* User Rating (/5)
* Difficulty
* Length (hr)
* Unlockables
* Cheat Codes
Installation
------------
GameFaqsPY is conveniently available via pip:
::
pip install gamefaqs-py
or installable via ``git clone`` and ``setup.py``
::
git clone https://github.com/ryantonini/gamefaqs-py
sudo python setup.py install
Usage
-----
A code example:
.. code:: python
from gamefaqs import access
gf_access = access.GameFaqs()
first_game = gf_access.search_game("Metal Gear Solid: Peace Walker")[0]
first_game.summary()
gf_access.update(first_game, info=["general", "rating"])
print first_game["esrb"]
print first_game["metascore"]
first_company = gf_access.search_company("Microsoft")[0]
first_company.summary()
gf_access.update(first_company)
print first_company["name"]
print first_company["games"]
License
-------
GNU General Public License Version 3. See LICENSE for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gamefaqs-py-0.2.5.tar.gz
(678.8 kB
view hashes)