Kodi Community Forum
Req Sports scraper - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Information Providers (scrapers) (https://forum.kodi.tv/forumdisplay.php?fid=147)
+----- Forum: General Scraping (https://forum.kodi.tv/forumdisplay.php?fid=306)
+----- Thread: Req Sports scraper (/showthread.php?tid=174789)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


RE: Sports scraper - zag - 2015-01-11

Todays new feature...

Player info Big Grin

http://www.thesportsdb.com/player/Wayne_Rooney


RE: Sports scraper - Hazmat - 2015-01-12

Add baseball please? Big Grin


RE: Sports scraper - bry - 2015-01-12

(2015-01-05, 18:54)bry- Wrote: actually - this should help out quite a bit. http://www.sports-reference.com/

zag - not sure if you missed this post. they have CSV records that should be easy to import for
  • baseball
  • basketball
  • (american) football
  • hockey
  • olympics



RE: Sports scraper - RavRob - 2015-01-14

ZAG
Not sure if this would be something you will consider at some point. Being from the GWN I would love to see the CFL (Canadian Football League) included in your DB. Here is some info although not as detailed as for the NFL
http://cfldb.ca/stadium-status/
and
http://stats.cfldb.ca/
If it is of interrest. The second link has more details/stats on player etc....
Thanks

RR


RE: Sports scraper - zag - 2015-01-14

Thanks yeh as long as there is interest (by that I mean you dont mind spending a few hours filling out team details and adding artwork) I'll add any sports and leagues people want Wink

Todays new features:

- You can now change a players team.
- Started on the API (please add any suggestions here, if your intending on writing an add-on or have some ideas)
- More backend work on Soccer results. Goal scorers should now show.


RE: Sports scraper - enen92 - 2015-01-14

Top job as usual.I've been trying to get people to contribute...let's see if the user base increases.

Something fundamental to an addon is the navigation. Having a lot of dialogs means "nothing" if we have no way of integrating that on a logical interface. That being said, I think that appart from teams, effort should be put into leagues. By clicking on a league the only information we can have now is the list of teams that belong to that league.
IMHO a central dialog for a league is imperative. From there we can then navigate to team views, fixtures, league tables, etc.
So similar to teams, the leagues should also present the next and recent matches, league tables and fixtures.

So the navigation (priority) is something like:

Sport -> League/Country -> Teams/Fixtures/next matches/tables -> Players/stadium/etc

json rpc should be able to handle the following options:

-> db_get_sports -> returns sport
-> db_get_leagues/competitions(sport) -> return league/league_id
-> db_get_league(id, method=none) -> returns teams,next matches,previous matches
-> db_get_league(id, method=tables) -> return league table
-> db_get_league(id,method=fixture,parameter=0) -> returns next match for all teams in the league (current week fixture)
-> db_get_league(id,method=fixture,parameter=1) -> returns next fixture
-> db_get_league(id,method=fixture,parameter=-1) -> returns previous fixture

etc

There is probably also the need of a new artwork type for team members view: jersey into png format. That's the only "pretty way" you can show a list of players per team without overflooding the screen. Something like this:

Image
Image
Image

At least it seems that every single user interface does something like this for player_view.
These are only suggestions Smile I also have a bit of difficulty to idealize how the whole user interface should look like.

Cheers


RE: Sports scraper - n1md4 - 2015-01-14

(2014-12-23, 17:51)zag Wrote: As this is under heavy development get the feature requests in now Wink
...
What sports do people want?

More motorsports, and I'd happily spend many an hour filling in all the meta-data on these Smile

WTCC http://www.fiawtcc.com/
WRC http://www.wrc.com/en/
WEC http://www.fiawec.com/
SuperGT http://supergt.net/?ln=en


RE: Sports scraper - enen92 - 2015-01-15

Still with the idea of developing something from this. So here are 2 view types for Leagues to materialize my thoughts on the post above . These league dialogs centralize all the information from which the user can then move forward to other view-types / content.

So for this to be a reality, leagues also need to support metadata. A clear logo, a fanart (or two max - trophy fanart / logo fanart) and a plot. The screenshots are below:

-League -> Banner View
Image

-League -> Tri-panel View w/ plot and league table summary
Image

Suggestions on possible dialogs / organization are also appreciated

----
I also fed 2 different teams on the previous dialog just to check the look of it. I won't embed here not to flood even more this thread. Links are below if anyone is interested to checkout

Sportingcp: http://s16.postimg.org/trxhz0bcl/sportingzag.png
FCPorto (gimp made a bug on this image): http://s24.postimg.org/uqpwcawh1/portozaga.png


RE: Sports scraper - zag - 2015-01-15

Today's new features:

- New Motorsport teams added and F1 races back to the year 2000
- NFL events imported for the 2014 season
- NFL Player import

More teams and leagues to come. Also going to look at those good API suggestions

Thanks to the people who have worked recently on adding metadata to players. Some nice info already Smile


RE: Sports scraper - Ovokx - 2015-01-15

(2015-01-14, 18:04)enen92 Wrote: Top job as usual.I've been trying to get people to contribute...let's see if the user base increases.

Something fundamental to an addon is the navigation. Having a lot of dialogs means "nothing" if we have no way of integrating that on a logical interface. That being said, I think that appart from teams, effort should be put into leagues. By clicking on a league the only information we can have now is the list of teams that belong to that league.
IMHO a central dialog for a league is imperative. From there we can then navigate to team views, fixtures, league tables, etc.
So similar to teams, the leagues should also present the next and recent matches, league tables and fixtures.

Totally agree with that. What about an interface for leagues similar to this?

Image

Smile


RE: Sports scraper - zag - 2015-01-15

Yep sounds sensible and should be pretty easy.


RE: Sports scraper - Ovokx - 2015-01-16

Some ideas for the main page:

Image

As we already can navigate through the site using the top menus, I have focused the main page in the upcoming events.

The 2 big pics (Champions League & NBA) are the most important ones due to be the closest event to the current date + match with highest value adding the team likes/loves of both teams (for example, Bulls: 40 "loves" + Lakers: 50 "loves" = 90 points of "event importance value". This two big events are displaying league fanart + league logo + teams badge + countdown till event starts.

Also you can see 4 small which could based on random upcoming events or same rule as the important ones, but with a less values than the previous ones. For these "less important events", I removed the teams logos

Also the concept is to display only one event by league in order to avoid a full main page displaying same sports events.

Hope you like my suggestions Smile


Sports scraper - cirkator - 2015-01-16

This project evolves so quickly and beautifully! Keep up the good work everyone :-) and Thank You!
Hope I can find the time to contribute


RE: Sports scraper - enen92 - 2015-01-16

(2015-01-15, 20:20)Ovokx Wrote:
(2015-01-14, 18:04)enen92 Wrote: Top job as usual.I've been trying to get people to contribute...let's see if the user base increases.

Something fundamental to an addon is the navigation. Having a lot of dialogs means "nothing" if we have no way of integrating that on a logical interface. That being said, I think that appart from teams, effort should be put into leagues. By clicking on a league the only information we can have now is the list of teams that belong to that league.
IMHO a central dialog for a league is imperative. From there we can then navigate to team views, fixtures, league tables, etc.
So similar to teams, the leagues should also present the next and recent matches, league tables and fixtures.

Totally agree with that. What about an interface for leagues similar to this?

Image

Smile

This gives some nice ideas. Not to league views (that should be a normal list since there are dozens of leagues) but for a "personal" menu containing the favourite leagues and teams.
After lunch I'll post some updates and ideas.


RE: Sports scraper - zag - 2015-01-16

The leagues should now be browsable and editable from this page. Hopefully that will give the navigational heirachy needed for any add-ons.

I'm struggling to get all the League Logos done though to make it look nice, would be good if anyone can help out.

The logos need to be square aspect ratio and PNG

http://www.thesportsdb.com/browse

EDIT: Done Wink I'll leave it to others to fill out the details of each league

Image