sc3 / cookcountyjail

A Django app that tracks the population of Cook County Jail over time and summarizes trends.
http://cookcountyjail.recoveredfactory.net/api/1.0/?format=json
Other
31 stars 23 forks source link

specify v2 API as the read-client database for the scraper #391

Open bepetersn opened 10 years ago

bepetersn commented 10 years ago

As long as we're using this "client" model, one of these clients is going to have to have an interface that our scraper knows about and can use to access a current snapshot of the database.

This should be the v2 API.

bepetersn commented 10 years ago

This actually does not need to be done anymore. My understanding is the scraper will just post the raw inmate data, and the v2 API can figure out the rest. No need for the scraper to know anything about any database.

nwinklareth commented 10 years ago

I am agree. The scraper will not be dependent on any database. This is a great example of seperation of concerns. Capturing the basic inmate information and making it available versus processing the data for analysis and supporting quering on the processed data are separate and distinct activities.

Norbert On Jun 6, 2014 1:26 PM, "Brian Everett Peterson" notifications@github.com wrote:

This actually does not need to be done anymore. My understanding is the scraper will just post the raw inmate data, and the v2 API can figure out the rest. No need for the scraper to know anything about any database.

— Reply to this email directly or view it on GitHub https://github.com/sc3/cookcountyjail/issues/391#issuecomment-45369256.

fgregg commented 9 years ago

Seems like this can be closed again?