API Chatter
Posted: Tue Feb 16, 2016 9:57 pm
http://gandalfgames.net/bbdb/api/matchd ... atch_id=21
This is a great example, and whilst I might have laid the data out differently, is probably enough to be getting started with. The one thing I miss from BBM is the match report images and I think we could certainly generate them from that data.
Going forward it would be useful to request other data like a list of matches, or list of teams, or details for a specific team. Pretty much an API for each page you have already. I don't know if that would be worth your while from a BBDB point of view? I've found that separating the API from the actual website very useful so far in bb-dugout (but don't actually have a lot to show for it).
If I did get more involved going forward, what would you prefer? I could probably produce a site completely separately from bbdb, that just requested data using an API that we dream up and you develop on request/as you feel like it. Or we could work on the same thing, but that would mean some kind of source control that you'd have to start using and the risk of me tinkering with your own code (and vice versa). I would suggest we start with option 1 and see how it goes?
It would be nice to see some kind of database schema, so that I can make reasonable requests for an API/plan ahead a bit (plus I'm just curious).
This is a great example, and whilst I might have laid the data out differently, is probably enough to be getting started with. The one thing I miss from BBM is the match report images and I think we could certainly generate them from that data.
Going forward it would be useful to request other data like a list of matches, or list of teams, or details for a specific team. Pretty much an API for each page you have already. I don't know if that would be worth your while from a BBDB point of view? I've found that separating the API from the actual website very useful so far in bb-dugout (but don't actually have a lot to show for it).
If I did get more involved going forward, what would you prefer? I could probably produce a site completely separately from bbdb, that just requested data using an API that we dream up and you develop on request/as you feel like it. Or we could work on the same thing, but that would mean some kind of source control that you'd have to start using and the risk of me tinkering with your own code (and vice versa). I would suggest we start with option 1 and see how it goes?
It would be nice to see some kind of database schema, so that I can make reasonable requests for an API/plan ahead a bit (plus I'm just curious).


