Skip to main content

The goal of this repository is to build a package to scrape game data for 1830 games from the 18xx.games api.

Project description

1830 Game Log Scraper:

The goal of this repository is to build a package to scrape game data for 1830 games from the 18xx.games api.

Installation Instructions:

conda env create --file=environment.yml

Implemented Features:

  1. An attribute recording the list of players in the game in initial turn order.
  2. Methods that record the distribution of privates, the player with priority in stock round 1 and the final player scores.

Upcoming Features:

Here are some features that are planned to be added to this scraper:

  1. A table recording the player scores at the end of each stock round and operating round, along with their share counts.
  2. A dictionary that records when a private is sold in to a company or closes and how much it is sold for, or for the B&O private, when the private closes.
  3. Graphical representations of the data.
  4. Representations of the data in a 2d pandas array.

Planned Applications of the Scraper:

There are two main applications in mind:

  1. Build a package that allows users to input game ids and obtain tables and graphs representing their game history.
  2. Scrape a large number of finished 1830 games to build a model that predicts player win probabilities from the results of the private auction.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scraper1830-0.0.3.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scraper1830-0.0.3-py2.py3-none-any.whl (7.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file scraper1830-0.0.3.tar.gz.

File metadata

  • Download URL: scraper1830-0.0.3.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.8

File hashes

Hashes for scraper1830-0.0.3.tar.gz
Algorithm Hash digest
SHA256 eb17d4af6826ce53a5f6c1a11a1892414d5f26ce43c42792a8855fb4b00f3df2
MD5 0fbc84713114068312a6055bb108b1f3
BLAKE2b-256 77e2b1b34168e0d1d814c79db7900319a3785ed164332e610c5af9d91f32adc2

See more details on using hashes here.

File details

Details for the file scraper1830-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: scraper1830-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.8

File hashes

Hashes for scraper1830-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c011815df09f9959b142012075b12aa0435ceb8b628170f9e0df7081186e0c41
MD5 4325895dca5125a3a8e2a4152bcdd30c
BLAKE2b-256 60333ea227165da8351e908e103c9ef27f005515c2aecde154adc72276079ca1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page