Skip to content

Retrieve data from the cvrapi.dk service while parsing through a csv file.

Notifications You must be signed in to change notification settings

CRPrinzler/cvrapi-cvrcsv2datacsv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

cvrapi-cvrcsv2datacsv

What this does

This python3 script reads one column of cvr (VAT) codes from a headerless csv file. Each entry is sent to the cvrapi.dk and returns a json array with company data. The number of employees is extracted from the resultset and saved as a new row into a new csv file.

What you need

Read the documentation in the link below

  • python3
  • 1 csv file with danish cvr / vat numbers

Only request 50 values pr. run on the free api account

Run the script

Run the script like

python3 main.py

or run it from your preferred IDE.

Links to the API and documentation

CVRAPI.dk Documentation

Ideas and suggestions

Let me know.

USAGE DISCLAIMER

READ THE DOCUMENTATION and adhere to it.

About

Retrieve data from the cvrapi.dk service while parsing through a csv file.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages