1.2.11 • Published 5 years ago

rets-ddf-client v1.2.11

Weekly downloads
70
License
MIT
Repository
github
Last release
5 years ago

NodeJS RETS/DDF Client

A RETS (Real Estate Transaction Standard) and DDF (Data Distribution Facility) client.

Forked from sbruno81/rets-client but totally rewritten by TypeScript.

Features

  • Search
  • GetObject

How to use

import { RetsClient, RetsVersion } from 'rets-ddf-client';

const client = new RetsClient({
    url: '...',
    username: '...',
    password: '...',
    version: RetsVersion.CREA_DDF
});

await client.login();
const listing = await client.search({
    format: RetsFormat.StandardXml,
    query: '...',
    searchType: '...',
    class: '...',
    culture: DdfCulture.EN_CA
});
const result = await client.getObjects({
    resource: '...',
    type: '...',
    contentId: '...',
    objectId: '1', // or not given for get all objects
    withLocation: false
});
await client.logout();
1.2.11

5 years ago

1.2.10

5 years ago

1.2.9

5 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago