New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/the-guitarman/fussball_de_match_list

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/the-guitarman/fussball_de_match_list

  • v0.0.0-20170729100022-996efbbd166f
  • Source
  • Go
  • Socket score

Version published
Created
Source

Build Status Code Climate Built with Spacemacs

fussball.de Match List Parser

This is a microservice which parses a match list of a german soccer team from fussball.de

Usage

Compile it and run the executable:

go build *.go

Run to get some help:

./main --help

Run with url option:

./main --url http://www.fussball.de/mannschaft/spvgg-blau-weiss-chemnitz02-spvgg-blau-weiss-chemnitz-02-sachsen/-/saison/1718/team-id/011MIF6PMK000000VTVG0001VTR8C1K7

Or run it in server mode:

./main --serve

Now you can use it in your browser:

http://localhost:3333/match-list?url=http://www.fussball.de/mannschaft/spvgg-blau-weiss-chemnitz02-spvgg-blau-weiss-chemnitz-02-sachsen/-/saison/1718/team-id/011MIF6PMK000000VTVG0001VTR8C1K7

You may use another port:

./main --serve --port 4444

Returns something like this:

{
  "team_name": "Spvgg. Blau-Weiß Chemnitz02",
  "matches": [
    {
      "start_at": "2017-07-30T15:00:00+02:00",
      "competition": "Kreisfreundschaftsspiele",
      "home": "Spvgg. Blau-Weiß Chemnitz02",
      "guest": "FSV Limbach-Oberfrohna"
    },
    {
      "start_at": "2017-08-06T15:00:00+02:00",
      "competition": "Sachsen-Pokal",
      "home": "Spvgg. Blau-Weiß Chemnitz02",
      "guest": "SV Liebertwolkwitz"
    },
    {
      "start_at": "2017-08-13T15:00:00+02:00",
      "competition": "Kreisoberliga",
      "home": "Spvgg. Blau-Weiß Chemnitz02",
      "guest": "USG Chemnitz"
    },
    {
      "start_at": "2017-08-20T15:00:00+02:00",
      "competition": "Kreisoberliga",
      "home": "SG Neukirchen/​E.",
      "guest": "Spvgg. Blau-Weiß Chemnitz02"
    },
    {
      "start_at": "2017-08-27T15:00:00+02:00",
      "competition": "Kreisoberliga",
      "home": "Spvgg. Blau-Weiß Chemnitz02",
      "guest": "BSC Rapid Chemnitz 2"
    },
    {
      "start_at": "2017-09-10T15:00:00+02:00",
      "competition": "Kreisoberliga",
      "home": "VTB Chemnitz",
      "guest": "Spvgg. Blau-Weiß Chemnitz02"
    },
    {
      "start_at": "2017-09-17T15:00:00+02:00",
      "competition": "Kreisoberliga",
      "home": "Spvgg. Blau-Weiß Chemnitz02",
      "guest": "SV Eiche Reichenbrand"
    },
    {
      "start_at": "2017-09-24T15:00:00+02:00",
      "competition": "Kreisoberliga",
      "home": "SV Adorf",
      "guest": "Spvgg. Blau-Weiß Chemnitz02"
    },
    {
      "start_at": "2017-10-01T15:00:00+02:00",
      "competition": "Kreisoberliga",
      "home": "Spvgg. Blau-Weiß Chemnitz02",
      "guest": "FSV Grün-Weiß Klaffenbach"
    },
    {
      "start_at": "2017-10-15T15:00:00+02:00",
      "competition": "Kreisoberliga",
      "home": "VfL Chemnitz",
      "guest": "Spvgg. Blau-Weiß Chemnitz02"
    }
  ]
}

"team_name" holds the name of the team to which this list belongs to. You can use it to determine wether a match is a home match or not.

License

LGPLv3. (You can use it in commercial projects as you like, but improvements/bugfixes must flow back to this lib.)

FAQs

Package last updated on 29 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc