Skip to content
KitploitKITPLOIT
ツールブログ
Log in
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
HingeSDK — 孤独で退屈したソフトウェアエンジニア向けのHingeデーティングアプリ用Python SDK | Kitploit
ツール/GitHubGitHub/reedgraff/hingesdk
OSINT (オープンソースインテリジェンス)スクリプトと自動化データ流出情報収集ソーシャルエンジニアリングユーティリティとフレームワーククローラー
GitHubreedgraff/hingesdk

HingeSDK

孤独で退屈したソフトウェアエンジニア向けのHingeデーティングアプリ用Python SDK

リポジトリを見る
113151510ヶ月前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

HingeSDK

Hinge APIの非公式Python SDK。プログラムでHingeと連携し、おすすめの取得、メッセージ送信、メディアのダウンロード、インタラクションの自動化を行います。

認証と環境設定

SDKを使用するには、有効な認証情報が必要です。これらの情報は.envファイルに保存するか、クライアントに直接渡すことができます。

必要な変数

  • BEARER_TOKEN: JWT認証トークン(例:L2euNWN...)。
  • SESSION_ID: 現在のセッションUUID。
  • USER_ID: あなたのユーザー/プレイヤーID。

認証情報の取得方法

方法1:ルート化された端末 / プロキシ(既存アカウント推奨)

既存のHingeアカウントを新しい端末でのログインによるフラグリスクなしで使用したい場合は、アプリのネットワークトラフィックからこれらの値を抽出する必要があります。

注意: 正しい変数を取得するためには、この操作は1回だけ行えば十分です。取得後は、将来のセッションにはSMSログイン方式を使用できます。

  1. Hingeは証明書ピニングを使用していないため、ルート化されたAndroid端末または標準のプロキシ設定(例:HTTP ToolkitやCharles Proxy)を使用します。
  2. prod-api.hingeaws.net または同様のHingeエンドポイントへのHTTPSリクエストを調査します。
  3. プロフィールエンドポイントのリクエストまたはレスポンスボディから以下のヘッダー/値を抽出します:
    • authorization(Bearerトークン)
    • x-session-id
    • x-device-id
    • x-install-id
    • User ID(レスポンスボディ内で subjectId などとしてよく見られます)

方法2:SMSログイン(試験的)

SDKを介してSMSでログインすることで新しい認証情報を生成できます。これは新しいログインフローを実行します。

from hingesdk.client import HingeClient

# これらのIDはアカウントに関連付けられた実際の値と一致している必要があります。
# ランダムなUUIDは使用できません。アカウントの登録端末と一致している必要があります。
client = HingeClient.login_with_sms(
    phone_number="+15551234567", 
    device_id="your_device_id_uuid", 
    install_id="your_install_id_uuid" 
)

print(f"BEARER_TOKEN={client.auth_token}")
print(f"SESSION_ID={client.session_id}")
print(f"USER_ID={client.user_id}")

インストール

リポジトリをクローンしてパッケージをインストールします:

git clone https://github.com/reedgraff/hingesdk
cd hingesdk
pip install .

クイックスタート

以下は認証してユーザーおすすめを取得する最小限の例です。

import os
from hingesdk.api import HingeAPIClient

# 認証情報で初期化
client = HingeAPIClient(
    auth_token=os.getenv("BEARER_TOKEN"),
    session_id=os.getenv("SESSION_ID"),
    user_id=os.getenv("USER_ID")
)

# おすすめを取得
recs = client.get_recommendations()
print(f"Successfully fetched recommendations request.")

使用法と例

例:メッセージ送信
from hingesdk.client import HingeAPIClient

auth_token = 'your_auth_token'
user_id = 'your_user_id'

client = HingeAPIClient(auth_token=auth_token, user_id=user_id)
response = client.send_message(
    subject_id='receiver_id',
    message='Hello, this is a test message!'
)
print(response)
例:ユーザーおすすめの取得
from hingesdk.api import HingeAPIClient

client = HingeAPIClient(auth_token=auth_token, user_id=user_id)
recommendations = client.get_recommendations()
print(recommendations)
例:ユーザー画像のダウンロード
from hingesdk.tools import HingeTools
from hingesdk.api import HingeAPIClient
from hingesdk.media import HingeMediaClient

api_client = HingeAPIClient(auth_token=auth_token, user_id=user_id)
media_client = HingeMediaClient(auth_token=auth_token)

tools = HingeTools(api_client, media_client)
tools.download_recommendation_content(output_path='path_to_save_images')
例:ユーザー情報の取得とプロフィールへのいいね
import os
import json
from hingesdk.tools import HingeTools
from hingesdk.api import HingeAPIClient
from hingesdk.media import HingeMediaClient

auth_token = os.getenv("BEARER_TOKEN")
session_id = os.getenv("SESSION_ID")
user_id = os.getenv("USER_ID")

api_client = HingeAPIClient(
    auth_token=auth_token,
    session_id=session_id,
    user_id=user_id
)
media_client = HingeMediaClient(auth_token=auth_token)
tools = HingeTools(api_client, media_client)

# 例:ユーザー情報を取得
tools.create_profile_json(
    source=ProfileSource.STANDOUTS,
    output_file="standouts.json"
)

# 例:ユーザーにいいね
with open("standouts.json", "r") as f:
    profiles = json.load(f)

personData = profiles["35582109789..."]

# ユーザーの質問にいいね
questionIDToLike = "5c4a346828fd883a24..."
response = api_client.like_profile(
    subject_id=personData["interaction_data"]["subject_id"],
    rating_token=personData["interaction_data"]["rating_token"],
    prompt={
        "questionId": questionIDToLike,
        "response": "I've been in Miami for a year and still haven't gone (╥﹏╥)"
    }
)
print(response)

# ユーザーの写真にいいね
# photoIDToLike = "2c6411ac-66e4-4194-..."
# response = api_client.like_profile(
#     subject_id=personData["interaction_data"]["subject_id"],
#     rating_token=personData["interaction_data"]["rating_token"],
#     photo={
#         "contentId": photoIDToLike,
#         "comment": "So how many people have commented saying they've been here before?"
#     }
# )
# print(response)
実用的な例:大学検索(学歴によるマッチフィルタリング)

この例では、おすすめをスクレイピングし、特定の条件(例:トップ大学)に基づいてプロフィールをフィルタリングする方法を示します。

ツールをダウンロード