8000 GitHub - Saious119/pycritic: Python Metacritic API. Screen scraping based
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Saious119/pycritic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pycritic

A Python Metacritic API. Web scraping based.

What is this?

A simple Python module that works as a Metacritic API. It uses the BeautifulSoup and the Requests library.

Pycritic is under development and hasn't been tested enough (just in Python 3.10 for now).

Comming Soon ™

  • Support for all categories
  • Search

How to use it

Based on demo.py:

# If you have included pycritic.py in your project
import pycritic

# For now Pycritic just works with Metacritic URLs
scraper = pycritic.Scraper()
resource = scraper.get("http://www.metacritic.com/game/pc/fallout-new-vegas")

print(resource.name)
# >> Fallout New Vegas
print(resource.date)
# >> Oct 19, 2010
print(resource.metascore)
# >> 84
print(resource.userscore)
# >> 8.0
print(resource.description)
# >> The latest game in the post-nuclear RPG series is being developed by many members of the Fallout 1 and 2  team at Obsidian Entertainment using the Fallout 3 engine.

License

Pycritic is released under the MIT License. See LICENSE for more details

About

Python Metacritic API. Screen scraping based

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0