Sitze und Rechtsformen aus Zefix API
This commit is contained in:
+1
-1
@@ -84,8 +84,8 @@ function sendAPICommunityRequest(string $username, string $password): string|boo
|
|||||||
}
|
}
|
||||||
|
|
||||||
function communityCSV(string $username, string $password): string {
|
function communityCSV(string $username, string $password): string {
|
||||||
$response = sendAPICommunityRequest($username, $password);
|
|
||||||
echo "$response";
|
echo "$response";
|
||||||
|
$response = sendAPICommunityRequest($username, $password);
|
||||||
$communityArray = json_decode($response, true);
|
$communityArray = json_decode($response, true);
|
||||||
$csvOutput = 'bfsId,Kanton,Gemeindename,registryOfCommerceId\n';
|
$csvOutput = 'bfsId,Kanton,Gemeindename,registryOfCommerceId\n';
|
||||||
// Create CSV rows
|
// Create CSV rows
|
||||||
|
|||||||
Reference in New Issue
Block a user