Sitze und Rechtsformen aus Zefix API

This commit is contained in:
schrom01 2023-08-21 20:49:28 +02:00
parent a5efbc50a6
commit f98863ad2a
1 changed files with 1 additions and 1 deletions

View File

@ -84,8 +84,8 @@ function sendAPICommunityRequest(string $username, string $password): string|boo
}
function communityCSV(string $username, string $password): string {
$response = sendAPICommunityRequest($username, $password);
echo "$response";
$response = sendAPICommunityRequest($username, $password);
$communityArray = json_decode($response, true);
$csvOutput = 'bfsId,Kanton,Gemeindename,registryOfCommerceId\n';
// Create CSV rows