Skip to main content

j_realty_api: Knowing the real estate transaction prices in Japan.

Project description

j_realty_api: Knowing the real estate transaction prices in Japan.

What is it?

The j_realty_api is a wrapper for an API that allows you to retrieve real estate transaction prices in Japan, utilizing the Real Estate Transaction Price Information Retrieval API provided by Japan's Ministry of Land, Infrastructure, Transport and Tourism. It makes the use of the API more convenient. It supports both Japanese and English APIs.

A feature of the tool is that it includes a tool to obtain prefecture codes and municipality codes, making it easier to search for data.

j_realty_apiは、日本の国土交通省が出している不動産取引価格情報取得APIを使い、日本の不動産取引価格を取得できる、APIのラッパーです。APIの利用が容易になります。日本語API、英語APIの両方に対応しています。

ツールの特徴は、都道府県コードと市町村コードを取得できるツールを加えて、データを探しやすくした点です。

Installation

  • インストール方法
pip install j_realty_api
pip install git+https://github.com/mazarimono/j_realty_api.git

How to Use

使い方

# English
from j_realty_api import j_realty_en as jrn

j = jrn.CityCode('Kyoto')
pref_code = j.pref_code
city_code = j.city_code('kyoto')
pt = jrn.PropTransactions(pref_code, city_code, 20223, 20224)
df = pt.get_data()
# Can get Prices with forex(USD, EUR, CNY) (from ver0.2)
df_forex = pt.to_forex(df, 'USD')
from j_realty_api import j_realty_jp as jrp

j = jrp.CityCode('京都')
pref_code = j.pref_code
city_code = j.city_code('京都')
pt = jrp.PropTransactions(pref_code, city_code, 20223, 20224)
df = pt.get_data()

Licence

MIT

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

j_realty_api-0.2.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

j_realty_api-0.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file j_realty_api-0.2.tar.gz.

File metadata

  • Download URL: j_realty_api-0.2.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for j_realty_api-0.2.tar.gz
Algorithm Hash digest
SHA256 da4feb3e764fe39c331854d1b2a0330a78da1e42fb661342d19a65d385dbaee4
MD5 6893b5ab0fdc7266d11f61cec69d02d6
BLAKE2b-256 7315a6df2b08c6815a0aab53277249b7e807e6e8392d39ff7ca97173a24b8dbe

See more details on using hashes here.

File details

Details for the file j_realty_api-0.2-py3-none-any.whl.

File metadata

  • Download URL: j_realty_api-0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for j_realty_api-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff2c5d5545af3835cf14af3b12dda0b825032bcd1869b5a2af180e4a2b646a03
MD5 2fa7eba716d3a90c7659886681f17352
BLAKE2b-256 af85a37f827067d19735035835dcc59d49c390576dc0c8c832444aa701d90fcf

See more details on using hashes here.

Supported by

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