Quantcast
Channel: Get Gzip file from endpoint, extract data and add to database - Code Review Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Reinderien for Get Gzip file from endpoint, extract data and add to...

Do not send anything to disk (especially the root of the server; this should have been /tmp).Once you have your decoded_string, you could use gzip.decompress producing a string.Alternatively, if you...

View Article



Get Gzip file from endpoint, extract data and add to database

I currently have a script that fires a request to an API endpoint which returns a csv.gzip file - which roughly contains 75,000 rows and 15 columns. I download this files to the webserver disk storage,...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images