HomeDevCentral

Fetch last FANTOIR file

Description

Fetch last FANTOIR file

Summary:
Query the data.economie.gouv.fr API to get metadata about last FANTOIR file.

Download it if not already existing in the working directory.

Print FANTOIR_FILE=<download and extracted file> on success.

The code download itself the file, but call unzip to handle unzip operation.

Ref T1750.

Test Plan: Downloaded file when and when not existing.

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1750

Differential Revision: https://devcentral.nasqueron.org/D2738

Details

Provenance
derecksonAuthored on Sat, Jan 14, 14:41
derecksonPushed on Wed, Jan 18, 19:12
Reviewer
dereckson
Differential Revision
D2738: Fetch last FANTOIR file
Parents
rDS24f806c41cb2: Describe crate for crates.io
Branches
Unknown
Tags
Unknown
Tasks
T1750: Import FANTOIR database