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.

Source Distribution

rakuten-0.1.5.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file rakuten-0.1.5.tar.gz.

File metadata

  • Download URL: rakuten-0.1.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rakuten-0.1.5.tar.gz
Algorithm Hash digest
SHA256 8464b941e2a9800855dc6dc8a2ed0b0f3cc951b99e9d93b0e456d8dc99755dc9
MD5 f086be0c8b69f477ca943276034f75db
BLAKE2b-256 2efb75a961052c213c00968a52665d584ada45e8074cb4d2ad857106470bbe1e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page