{"id":20627956,"url":"https://github.com/abn/node-vattenfall-europe-sales-api","last_synced_at":"2026-02-20T16:33:30.117Z","repository":{"id":260952344,"uuid":"882800379","full_name":"abn/node-vattenfall-europe-sales-api","owner":"abn","description":"Typescript client for the Vattenfall Europe Sales GmbH Service API","archived":false,"fork":false,"pushed_at":"2025-03-24T07:34:58.000Z","size":556,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-13T03:46:49.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-03T19:42:35.000Z","updated_at":"2025-02-03T07:25:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f606401-847b-4c9e-8b04-912ea42c1a67","html_url":"https://github.com/abn/node-vattenfall-europe-sales-api","commit_stats":null,"previous_names":["abn/node-vattenfall-europe-sales-api"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/abn/node-vattenfall-europe-sales-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fnode-vattenfall-europe-sales-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fnode-vattenfall-europe-sales-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fnode-vattenfall-europe-sales-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fnode-vattenfall-europe-sales-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abn","download_url":"https://codeload.github.com/abn/node-vattenfall-europe-sales-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fnode-vattenfall-europe-sales-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29656991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T13:18:50.017Z","updated_at":"2026-02-20T16:33:30.100Z","avatar_url":"https://github.com/abn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vattenfall Europe Sales GmbH API Client\n\nThis is a node client libary written in Typescript, which provides methods to interact with the Vattenfall Europe Sales GmbH service's API.\n\n## Installation\n\n```bash\n# using npm\nnpm install vattenfall-europe-sales-api\n\n# using pnpm\npnpm add vattenfall-europe-sales-api\n```\n\n## Example Usage\n\n```typescript\nimport { VattenfallService, VattenfallServiceHelpers } from \"vattenfall-europe-sales-api\";\n\nasync function displayMeterReadings() {\n    const service = new VattenfallService(\"your-username\", \"your-password\");\n\n    try {\n        const contract_ids = VattenfallServiceHelpers.getContractIDs(await service.getContractList());\n\n        for (const contract_id of contract_ids) {\n            console.log(`Meter readings for contract ${contract_id}:`);\n\n            const meter_readings = VattenfallServiceHelpers.mapMeterReadings(\n                await service.getMeterReadings(contract_id),\n            );\n            console.log(meter_readings);\n        }\n    } catch (e) {\n        await service.logOut();\n        throw e;\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabn%2Fnode-vattenfall-europe-sales-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabn%2Fnode-vattenfall-europe-sales-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabn%2Fnode-vattenfall-europe-sales-api/lists"}