3.2.0 • Published 7 months ago

gatsby-source-ttlive v3.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 months ago

gatsby-source-ttlive

This is a Gatsby source plugin that sources nodes from TT-Live.

An example site that uses this plugin can be found here: https://tt-live-scores.netlify.app/.

How to install

  1. Install dependency

    npm install --save gatsby-source-ttlive
  2. Add to gatsby-config.js

      {
          plugins: [
          `gatsby-source-ttlive`,
        ],
      }

Example query

This is an example query for loading all fixtures of a league sorted by date in descending order:

query LatestFixturesByLeagueId($leagueId: String!) {
  allFixture(
    filter: { league: { id: { eq: $leagueId } } }
    sort: { order: DESC, fields: date }
  ) {
    nodes {
      date
      link
      note
      nr
      homeTeam {
        name
      }
      guestTeam {
        name
      }
      result
    }
  }
}
3.1.2

8 months ago

3.2.0

7 months ago

3.1.1

11 months ago

3.1.0

1 year ago

3.0.7

1 year ago

3.0.6

2 years ago

3.0.4

2 years ago

3.0.5

2 years ago

3.0.3

2 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.2.3

3 years ago

2.2.2

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.5

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

2.0.0-0

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago