Code Monkey home page Code Monkey logo

zeejongparser's Introduction

ZeeJong Parser

About

ZeeJong Parser is a tool, written in GO, which collects and builds a database containing an archive of soccer information. This tool is written for the ZeeJong web app.

Installing & Running

Copy the folder to the $GOPATH/src folder.
Build the program:

go build

Run the zeejongparser executable

./zeejongparser

See below for input/output information

Usage

The parser's input consists of a series of football competitions, with their corresponding archive url. The parser will parse these competitions in a concurrent way. All pages are cached in the cache folder, in case you'd like to run it more than once. Images are saved in the images folders. The names of those images correspond to the id of the 'owner'. (e.g. the player with id 512, will have an image named Player-512.png)

While parsing, you can see the stats on a webpage. Open your browser and go to http://localhost:8080. This page will you show you the progress of the parser.

demo

The output of the parser is a JSON file, containing the whole database.

You can import this JSON file in the main ZeeJong installation, running the importer.

You can also install preloaded data. We provide a JSON file contain an archive of competitions.
In order to install this, you must run yourdomain.com/core/importer.php. This may take some time.
Do this after the installation. Note that the script will empty all tables before loading the sample data.

More information on installing and setting up ZeeJong, can be found in the readme of the ZeeJong project.

Authors

  • Timo Truyts
  • Mathias Beke

Acknowledgements

zeejongparser's People

Contributors

denbeke avatar trtstm avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.