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 Jan 14 2023, 14:41
derecksonPushed on Jan 18 2023, 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