Compare commits
3 Commits
cd00fe057d
...
8182aed0f7
Author | SHA1 | Date |
---|---|---|
schrom01 | 8182aed0f7 | |
schrom01 | abefba9b4d | |
schrom01 | 8a4db6b905 |
|
@ -4,7 +4,6 @@ $username = getenv("username");
|
|||
$password = getenv("password");
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param string $
|
||||
* @param string $
|
||||
|
@ -86,6 +85,7 @@ function sendAPICommunityRequest(string $username, string $password): string|boo
|
|||
|
||||
function communityCSV(string $username, string $password): string {
|
||||
$response = sendAPICommunityRequest($username, $password);
|
||||
echo $response;
|
||||
$communityArray = json_decode($response, true);
|
||||
$csvOutput = 'bfsId,Kanton,Gemeindename,registryOfCommerceId\n';
|
||||
// Create CSV rows
|
||||
|
|
Loading…
Reference in New Issue