Skip to main content

DMM Web API Version 3.0 Wrapper for Python3

Project description

dmm-search3

License

DMM Web API Version 3.0 Wrapper for Python3

Requirements

Please get it here.

  • api_id
  • affiliate_id

Install

$ pip3 install dmm-search3

Initialize

# モジュールのインポート
import dmm

# API ID と アフィリエイトIDをセット
api_id = "your_api_id"
affiliate_id = "your_affiliate_id"

# インスタンスの作成
api = dmm.API(api_id=api_id, affiliate_id=affiliate_id)

Feature

#商品検索
item_search = api.item_search(site="FANZA", hits=1, keyword="バレンタイン")

#フロア一覧
floor_list = api.floor_list()

#女優検索
actress_search = api.actress_search()

#ジャンル検索
genre_search = api.genre_search(floor_id=91)

#メーカー検索
maker_search = api.maker_search(floor_id=91)

#シリーズ検索
series_search = api.series_search(floor_id=91)

#作者検索
author_search = api.author_search(floor_id=91)

# サンプル動画ドウンロード
dmm.sample_download(content_id="abgktk_0012", file_name="sample", size="big")

Sample

Please refer here.

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 dmm-search3, version 2.3
Filename, size File type Python version Upload date Hashes
Filename, size dmm_search3-2.3-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page