Hacker News new | past | comments | ask | show | jobs | submit login

The API looks great! Is there any way to include yellow & red cards, as well as timestamps for these events?



I am looking at including more information right now, but I welcome pull requests of course! When I built it it was just a quick and dirty API for goals and standings, but it can obv include more information. There is an "official" FIFA API that includes all that info, but the legality of building your own app with it is unclear to me, and it seems largely undocumented.

http://live.mobileapp.fifa.com/api/wc/matches


The ToS in section 5.10 seems to address it:

http://www.fifa.com/legal/tos.html

  5.10 If You wish to use or display any FIFA feeds / FIFA APIs on Your website:

  (a) FIFA grants to You a non-transferable, royalty free, non-exclusive license to
  display such feeds on Your website subject to these Terms;
  
  (b) You expressly agree: (i) to ensure that the FIFA feed / FIFA API does not
  state or imply that FIFA approves of, sponsors or endorses any other website 
  activity, company or entity, resource, content, or presents FIFA and/or its 
  activities in a false, misleading, defamatory or derogatory manner or otherwise 
  damages FIFA's reputation or takes advantage of it; and (ii) to properly attribute
  the FIFA feeds used to FIFA to avoid any misappropriation or confusion;
  
  (c) where possible, You must create a functional link back to the FIFA story or
  other material summarized by the relevant FIFA feed.


New branch pushed that includes cards and goals and subs, not live yet though - RABL output needs a little work, and while I'm grabbing the player, I haven't been able to grab the timestamp yet. Feel free to check it out.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: