Sitze und Rechtsformen aus Zefix API
This commit is contained in:
parent
d8e56b297e
commit
28661a198a
|
@ -84,8 +84,10 @@ function sendAPICommunityRequest(string $username, string $password): string|boo
|
||||||
}
|
}
|
||||||
|
|
||||||
function communityCSV(string $username, string $password): string {
|
function communityCSV(string $username, string $password): string {
|
||||||
echo "TEST";
|
|
||||||
$response = sendAPICommunityRequest($username, $password);
|
$response = sendAPICommunityRequest($username, $password);
|
||||||
|
echo "TEST";
|
||||||
|
echo $response;
|
||||||
|
echo "TEST3";
|
||||||
$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
|
||||||
|
|
Loading…
Reference in New Issue