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
The application now supports database access. The new access system runs queries with speed and efficiency. To use the database system, run the following script upon installation:
::
python /path/to/run_load.py
The script will create a SQLite database file in the current working directory containing data loaded from http://www.gamefaqs.com/.
NOTE: Currently, the database contains minimal game support. Updates are pending.
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
The application now supports database access. The new access system runs queries with speed and efficiency. To use the database system, run the following script upon installation:
::
python /path/to/run_load.py
The script will create a SQLite database file in the current working directory containing data loaded from http://www.gamefaqs.com/.
NOTE: Currently, the database contains minimal game support. Updates are pending.
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.
Release files for gamefaqs-py 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gamefaqs-py-0.2.8.tar.gz | 7.4 MB | Details |
Release files / gamefaqs-py-0.2.8.tar.gz
| Download URL | gamefaqs-py-0.2.8.tar.gz |
|---|---|
| Size | 7.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d8f3a9cf7350453b61053c07a0d281cbab770e428d13f78e66616fdee5c3bab
|
|
BLAKE2b-256 checksum How to use checksums |
78a3415497d7211a408aceb4c2ef07a107e31b4730fc9e4ed5985b9eca07e9a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |