sensiblecodeio / scraperwiki-python

ScraperWiki Python library for scraping and saving data
https://scraperwiki.com
BSD 2-Clause "Simplified" License
159 stars 69 forks source link

show_tables should be scraperwiki.sql.meta? #17

Open frabcus opened 11 years ago

frabcus commented 11 years ago

To keep it in some sync with new platform API.

Would return same JSON as new API.

pwaller commented 11 years ago

@frabcus, if it is still a problem, can you please edit your issue to make it more clear what needs doing? Or of course close if it is now irrelevant. If it's a small thing I can just do it on the train.

frabcus commented 11 years ago

There's a function scraperwiki.sqlite.show_tables, which does seem to be sqlite specific.

in the tools I have checked out on my machine only spreadsheet-upload-tool/code/extract.py seems to use it.

I don't know the answer - not sure if anyone else uses this function. I feel like it should turn into a scraperwiki.sql.meta and be as similar as possible to the Javascript API.