Compare commits
3
Commits
cd00fe057d
...
8182aed0f7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8182aed0f7 | ||
|
|
abefba9b4d | ||
|
|
8a4db6b905 |
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user