research aspic
ASPIC のサービス、記事、カテゴリ、著者を検索します。詳細は識別情報から取得し、必要な本文セクションだけ追加できます。
使い方
orc research aspic search --q CRM --type service --workspace YOUR_WORKSPACE_ID --jsonサービスを検索する
サブコマンド
articles list
記事一覧
orc research aspic articles list [options]固有のオプション
--page
value
型: number。任意。
orc research aspic articles list --page <value>--per-page
value
型: number。任意。
orc research aspic articles list --per-page <value>--q
max 200 chars
型: string。任意。
orc research aspic articles list --q <value>--slug
max 200 chars
型: string。任意。
orc research aspic articles list --slug <value>--category
value
型: number。任意。
orc research aspic articles list --category <value>articles get
記事を取得します。
orc research aspic articles get <id> [options]固有のオプション
--body
Explicitly request parsed content; identity only by default.; enum: true|false
型: string。任意。
orc research aspic articles get <id> --body <value>--section
Return matching headings instead of the entire body; implies body=true.; max 200 chars
型: string。任意。
orc research aspic articles get <id> --section <value>--max-chars
Shared content character budget; truncated reports omitted content.
型: number。任意。
orc research aspic articles get <id> --max-chars <value>編集著者一覧
orc research aspic authors list [options]固有のオプション
--page
value
型: number。任意。
orc research aspic authors list --page <value>--per-page
value
型: number。任意。
orc research aspic authors list --per-page <value>--q
max 200 chars
型: string。任意。
orc research aspic authors list --q <value>--slug
max 200 chars
型: string。任意。
orc research aspic authors list --slug <value>著者を取得します。
orc research aspic authors get <id> [options]categories list
カテゴリ一覧
orc research aspic categories list [options]固有のオプション
--page
value
型: number。任意。
orc research aspic categories list --page <value>--per-page
value
型: number。任意。
orc research aspic categories list --per-page <value>--q
max 200 chars
型: string。任意。
orc research aspic categories list --q <value>--slug
max 200 chars
型: string。任意。
orc research aspic categories list --slug <value>categories get
カテゴリを取得します。
orc research aspic categories get <id> [options]search
サービス・記事・著者を検索
orc research aspic search [options]固有のオプション
--page
value
型: number。任意。
orc research aspic search --page <value>--per-page
value
型: number。任意。
orc research aspic search --per-page <value>--q
max 200 chars
型: string。必須。
orc research aspic search --q <value>--type
enum: service|article|article_author
型: string。任意。
orc research aspic search --type <value>services list
サービス一覧
orc research aspic services list [options]固有のオプション
--page
value
型: number。任意。
orc research aspic services list --page <value>--per-page
value
型: number。任意。
orc research aspic services list --per-page <value>--q
max 200 chars
型: string。任意。
orc research aspic services list --q <value>--slug
max 200 chars
型: string。任意。
orc research aspic services list --slug <value>--category
value
型: number。任意。
orc research aspic services list --category <value>services get
サービスを取得します。
orc research aspic services get <id> [options]固有のオプション
--body
Explicitly request parsed content; identity only by default.; enum: true|false
型: string。任意。
orc research aspic services get <id> --body <value>--section
Return matching headings instead of the entire body; implies body=true.; max 200 chars
型: string。任意。
orc research aspic services get <id> --section <value>--max-chars
Shared content character budget; truncated reports omitted content.
型: number。任意。
orc research aspic services get <id> --max-chars <value>使用例
カテゴリのサービスを取得する
orc research aspic services list --category 12 --per-page 10 --workspace YOUR_WORKSPACE_ID --jsonカテゴリのサービスを取得する
料金セクションだけを取得する
orc research aspic services get 25848 --section 料金 --max-chars 1000 --workspace YOUR_WORKSPACE_ID --json料金セクションだけを取得する
取得結果と使い方
orc research aspic search でサービス・記事・著者を検索します。orc research aspic services list と orc research aspic articles list は数値の --category で絞り込めます。
orc research aspic services get と orc research aspic articles get は既定で識別情報だけ返します。--body trueで整形済みの節・表・リンクを取得し、--sectionで見出しとその下位節を選択できます。--max-charsは本文全体の文字数上限です。省略の有無はtruncatedを確認してください。著者詳細は本文オプションに対応しません。応答には出典URLと取得時刻を含み、生HTMLは返しません。
カテゴリのtaxonomy_countは投稿種別をまたぐ件数です。サービス数にはカテゴリで絞り込んだサービス一覧のpagination.totalを使います。レビュー取得と資料ダウンロードは対象外です。
必要な権限
orc auth login でベータ承認済みアカウントにログインするか、read スコープの API キーを使用します。アクセスできる Workspace を --workspace で指定します。research 専用の Workspace 許可リストは不要です。
グローバルオプション
orc research aspic では、次のグローバルオプションを使用できます。
各オプションの詳細と使用例は、グローバルオプションを参照してください。