Sha256: 1d17e0276b02c104b2b50190552c467def72d91bd860714cc0ab6a459d1bde9a

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

# Immobilienscout gem

This is an interface for Immobilienscout API

## Example
Set up your keys in `immobilienscout.rb` inside initializers.
```ruby
Immobilienscout.configure do |config|
  config.consumer_key = 'consumer_key'
  config.consumer_secret = 'consumer_secret'
  config.access_token = 'access_token'
  config.access_token_secret = 'access_token_secret'
  config.use_sandbox = true
end

```

## Methods

#### Property
 - Create property
```ruby
Immobilienscout::API::Property.create({params})
```

- Publish property
```ruby
Immobilienscout::API::Property.publish({params})
```

- Delete property
```ruby
Immobilienscout::API::Property.destroy(is24_id)
```

#### Attachment
 - Add attachments to property
```ruby
Immobilienscout::API::Attachment.add(is24_id, binary_file, {metadata})
```

#### Report
- Get scout report
```ruby
Immobilienscout::API::Report.retrieve(is24_id, date_from, date_to)
```

#### IMPORTANT: Check Immobilienscout API Documentation about the needed params.


## Immobilienscout API

 https://api.immobilienscout24.de/our-apis/import-export.html

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
immobilienscout-0.0.3 README.md
immobilienscout-0.0.2 README.md
immobilienscout-0.0.1 README.md