Skip to main content

Rakuten API client.

Project description

## python_rakuten_api

Python API for Rakuten API.

## Usage

Create a client.

```
from rakuten import RakutenClient
client = RakutenClient("API_KEY")
```

### Travel API

Available methods:

* `simple_hotel_search`

```
response = client.travel.simple_hotel_search(
middle_class_code="akita",
large_class_code="japan",
small_class_code="tazawa"
)
```

* `vacant_hotel_search`

```
response = client.travel.vacant_hotel_search(
checkin_date="2014-10-01",
checkout_date="2014-10-01",
middle_class_code="akita",
large_class_code="japan",
small_class_code="tazawa"
)
```

* `get_area_class`

```
response = client.travel.vacant_hotel_search()
```

* `keyword_hotel_search`

```
response = client.travel.keyword_hotel_search('keyword')
```

* `get_hotel_chain_list`

```
response = client.travel.get_hotel_chain_list()
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rakuten, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size rakuten-0.1.5.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page