https://github.com/crusaider/srv-schedule
A simple interface to the SRV sewage schedule API. Make it possible to get the next sewage schedule for a given address.
https://github.com/crusaider/srv-schedule
api client srv
Last synced: 4 months ago
JSON representation
A simple interface to the SRV sewage schedule API. Make it possible to get the next sewage schedule for a given address.
- Host: GitHub
- URL: https://github.com/crusaider/srv-schedule
- Owner: crusaider
- License: mit
- Created: 2025-02-01T15:36:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-27T19:42:23.000Z (over 1 year ago)
- Last Synced: 2025-10-04T07:41:33.966Z (8 months ago)
- Topics: api, client, srv
- Language: TypeScript
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SRV Schedule
A simple interface to the SRV sewage schedule API. Make it possible to get the next sewage schedule for a given address. See: https://www.srvatervinning.se/avfallshamtning/nar-hamtar-vi-ditt-avfall
## Installation
```bash
npm install @crusaider/srv-schedule
```
## Usage
### Lookup customer details for a given address
```typescript
import { findSuggestions } from '@crusaider/srv-schedule';
findSuggestions('Rudsjöterrassen 2').then((suggestions) => {
console.log(suggestions);
});
```
### Find the next sewage schedule for a given address
```typescript
import { search } from '@crusaider/srv-schedule';
search('Rudsjöterrassen 2').then((schedule) => {
console.log(schedule);
});
```
# Disclaimer
This is not an official API and may break at any time. Use at your own risk. This is a hobby project and is not affiliated with SRV in any way.