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