> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keyapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 获取用户出版物

> 获取LinkedIn用户出版物

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">1 credit</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">每次请求</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 让 AI 帮你写调用代码</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">点击按钮复制一段结构化提示词，可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。</p>
  </div>

  <div className="mt-4">
    <button type="button" className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50" onClick={() => navigator.clipboard.writeText("我想调用 KeyAPI 接口：GET https://api.keyapi.ai/v1/linkedin/get_user_publications\n\n请帮我编写调用代码，并包含必要的错误处理、参数校验和响应处理逻辑。\n\n接口信息：\n\nEndpoint: GET https://api.keyapi.ai/v1/linkedin/get_user_publications\n\nDescription: LinkedIn 的「用户 Publications」接口返回业务处理所需的数据字段和状态信息。适用于数据采集、监测、分析和业务自动化。常用必填参数包括 urn。\n\nRequired Headers:\n--header 'Authorization: Bearer <YOUR_API_KEY>'\n\nParameters:\n- urn (Required): urn 参数. Example: ACoAAB8rG_UB7cstjC__gk5318uYsZOIVkyysi4\n- page (Optional): 页码. Example: 1\n\nExample Response:\n{\n  \"code\": 0,\n  \"message\": \"success\",\n  \"data\": {\n    \"page\": 1,\n    \"total\": 5,\n    \"has_more\": false,\n    \"data\": [\n      {\n        \"title\": \"The Infinite Game\",\n        \"publication\": \"Portfolio\",\n        \"description\": \"We can’t choose the game. We can’t choose the rules. We can only choose how we play. In finite games, like football or chess, the players are known, the rules are fixed, and the endpoint is clear. The winners and losers are easily identified. In infinite games, like business or politics or life itself, the players come and go, the rules are changeable, and there is no defined endpoint. There are no winners or losers in an infinite game; there is only ahead and behind.\",\n        \"date\": \"Oct 15, 2019\",\n        \"publication_url\": \"https://simonsinek.com/books/the-infinite-game/\"\n      },\n      {\n        \"title\": \"Find Your Why: A Practical Guide to Discovering Purpose for You and Your Team\",\n        \"publication\": \"Portfolio\",\n        \"description\": \"With Start with Why, Simon started a movement to inspire people to do the things that inspire them. Millions of people now understand the concept of the Golden Circle. Find Your Why is designed to help those inspired by the message find their WHY and bring it to life in both their careers and organizations.\",\n        \"date\": \"Sep 5, 2017\",\n        \"publication_url\": \"https://simonsinek.com/books/find-your-why/\"\n      },\n      {\n        \"title\": \"Together Is Better: A Little Book of Inspiration\",\n        \"publication\": \"Portfolio\",\n        \"description\": \"We are more likely to overcome our struggles and difficulties when we are willing to take others with us on the journey. In a unique combination of inspiring quotes, storytelling, and commentary, this beautifully illustrated book inspires readers to seek out a brighter future — and build it together.\",\n        \"date\": \"Sep 13, 2016\",\n        \"publication_url\": \"https://simonsinek.com/books/together-is-better/\"\n      },\n      {\n        \"title\": \"Leaders Eat Last: Why Some Teams Pull Together And Others Don't\",\n        \"publication\": \"Portfolio\",\n        \"description\": \"Why do only a few people get to say “I love my job”? It seems unfair that finding fulfillment at work is like winning a lottery; that only a few lucky ones get to feel valued by their organizations, to feel like they belong.\\n\\nImagine a world where almost everyone wakes up inspired to go to work, feels trusted and valued during the day, then returns home feeling fulfilled.\\n\\nThis is not a crazy, idealized notion. Today, in many successful organizations, great leaders are creating environments in which people naturally work together to do remarkable things. \\n\\nIn his travels around the world since the publication of his bestseller Start with Why, Simon Sinek noticed that some teams were able to trust each other so deeply that they would literally put their lives on the line for each other. Other teams, no matter what incentives were offered, were doomed to infighting, fragmentation and failure. \\n\\nAs he did in \\\"Start with Why,\\\" Sinek illustrates his ideas grounded in biology with fascinating true stories from a wide range of examples, from the military to manufacturing, from government to investment banking.\",\n        \"date\": \"Jan 7, 2014\",\n        \"publication_url\": \"https://simonsinek.com/books/leaders-eat-last/\"\n      },\n      {\n        \"title\": \"Start With Why: How Great Leaders Inspire Everyone to Take Action\",\n        \"publication\": \"Portfolio\",\n        \"description\": \"In 2009, Simon Sinek started a movement to help people become more inspired at work, and in turn inspire their colleagues and customers. Since then, millions have been touched by the power of his ideas, including more than 28 million who’ve watched his TED Talk based on START WITH WHY -- the third most popular TED video of all time.\\n \\nSinek starts with a fundamental question: Why are some people and organizations more innovative, more influential, and more profitable than others? Why do some command greater loyalty from customers and employees alike? Even among the successful, why are so few able to repeat their success over and over? \\n \\nPeople like Martin Luther King Jr., Steve Jobs, and the Wright Brothers had little in common, but they all started with WHY. They realized that people won't truly buy into a product, service, movement, or idea until they understand the WHY behind it. \\n \\nSTART WITH WHY shows that the leaders who've had the greatest influence in the world all think, act, and communicate the same way -- and it's the opposite of what everyone else does. Sinek calls this powerful idea The Golden Circle, and it provides a framework upon which organizations can be built, movements can be led, and people can be inspired. And it all starts with WHY.\",\n        \"date\": \"Oct 29, 2009\",\n        \"publication_url\": \"https://simonsinek.com/books/start-with-why/\"\n      }\n    ]\n  },\n  \"requestId\": \"a7fb1a7f-cc7c-473e-83d3-27291aaef91d\"\n}\n\n请根据以上信息给出可直接运行的示例代码。")}>
      ✨ 复制给 AI
    </button>
  </div>
</div>


## OpenAPI

````yaml zh/linkedin.zh.openapi.json GET /v1/linkedin/get_user_publications
openapi: 3.0.1
info:
  title: LinkedIn API 中文文档
  description: LinkedIn API 的中文参考文档，包含接口用途、参数说明、响应状态和示例结构。
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Production
security:
  - JWT Bearer: []
tags: []
paths:
  /v1/linkedin/get_user_publications:
    get:
      tags: []
      summary: 获取用户出版物
      description: 获取LinkedIn用户出版物
      parameters:
        - name: urn
          in: query
          description: 用户URN，可通过get_user_profile接口获取
          required: true
          example: ACoAAB8rG_UB7cstjC__gk5318uYsZOIVkyysi4
          schema:
            type: string
        - name: page
          in: query
          description: 页码，默认为1
          required: false
          example: 1
          schema:
            type: integer
            default: 1
      responses:
        '200':
          description: 请求成功
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: 0
                message: success
                data:
                  page: 1
                  total: 5
                  has_more: false
                  data:
                    - title: The Infinite Game
                      publication: Portfolio
                      description: >-
                        We can’t choose the game. We can’t choose the rules. We
                        can only choose how we play. In finite games, like
                        football or chess, the players are known, the rules are
                        fixed, and the endpoint is clear. The winners and losers
                        are easily identified. In infinite games, like business
                        or politics or life itself, the players come and go, the
                        rules are changeable, and there is no defined endpoint.
                        There are no winners or losers in an infinite game;
                        there is only ahead and behind.
                      date: Oct 15, 2019
                      publication_url: https://simonsinek.com/books/the-infinite-game/
                    - title: >-
                        Find Your Why: A Practical Guide to Discovering Purpose
                        for You and Your Team
                      publication: Portfolio
                      description: >-
                        With Start with Why, Simon started a movement to inspire
                        people to do the things that inspire them. Millions of
                        people now understand the concept of the Golden Circle.
                        Find Your Why is designed to help those inspired by the
                        message find their WHY and bring it to life in both
                        their careers and organizations.
                      date: Sep 5, 2017
                      publication_url: https://simonsinek.com/books/find-your-why/
                    - title: 'Together Is Better: A Little Book of Inspiration'
                      publication: Portfolio
                      description: >-
                        We are more likely to overcome our struggles and
                        difficulties when we are willing to take others with us
                        on the journey. In a unique combination of inspiring
                        quotes, storytelling, and commentary, this beautifully
                        illustrated book inspires readers to seek out a brighter
                        future — and build it together.
                      date: Sep 13, 2016
                      publication_url: https://simonsinek.com/books/together-is-better/
                    - title: >-
                        Leaders Eat Last: Why Some Teams Pull Together And
                        Others Don't
                      publication: Portfolio
                      description: >-
                        Why do only a few people get to say “I love my job”? It
                        seems unfair that finding fulfillment at work is like
                        winning a lottery; that only a few lucky ones get to
                        feel valued by their organizations, to feel like they
                        belong.


                        Imagine a world where almost everyone wakes up inspired
                        to go to work, feels trusted and valued during the day,
                        then returns home feeling fulfilled.


                        This is not a crazy, idealized notion. Today, in many
                        successful organizations, great leaders are creating
                        environments in which people naturally work together to
                        do remarkable things. 


                        In his travels around the world since the publication of
                        his bestseller Start with Why, Simon Sinek noticed that
                        some teams were able to trust each other so deeply that
                        they would literally put their lives on the line for
                        each other. Other teams, no matter what incentives were
                        offered, were doomed to infighting, fragmentation and
                        failure. 


                        As he did in "Start with Why," Sinek illustrates his
                        ideas grounded in biology with fascinating true stories
                        from a wide range of examples, from the military to
                        manufacturing, from government to investment banking.
                      date: Jan 7, 2014
                      publication_url: https://simonsinek.com/books/leaders-eat-last/
                    - title: >-
                        Start With Why: How Great Leaders Inspire Everyone to
                        Take Action
                      publication: Portfolio
                      description: >-
                        In 2009, Simon Sinek started a movement to help people
                        become more inspired at work, and in turn inspire their
                        colleagues and customers. Since then, millions have been
                        touched by the power of his ideas, including more than
                        28 million who’ve watched his TED Talk based on START
                        WITH WHY -- the third most popular TED video of all
                        time.
                         
                        Sinek starts with a fundamental question: Why are some
                        people and organizations more innovative, more
                        influential, and more profitable than others? Why do
                        some command greater loyalty from customers and
                        employees alike? Even among the successful, why are so
                        few able to repeat their success over and over? 
                         
                        People like Martin Luther King Jr., Steve Jobs, and the
                        Wright Brothers had little in common, but they all
                        started with WHY. They realized that people won't truly
                        buy into a product, service, movement, or idea until
                        they understand the WHY behind it. 
                         
                        START WITH WHY shows that the leaders who've had the
                        greatest influence in the world all think, act, and
                        communicate the same way -- and it's the opposite of
                        what everyone else does. Sinek calls this powerful idea
                        The Golden Circle, and it provides a framework upon
                        which organizations can be built, movements can be led,
                        and people can be inspired. And it all starts with WHY.
                      date: Oct 29, 2009
                      publication_url: https://simonsinek.com/books/start-with-why/
                requestId: a7fb1a7f-cc7c-473e-83d3-27291aaef91d
          headers: {}
        '400':
          description: 请求参数错误，请检查必填字段和参数格式
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 400
                  data: null
                  message: 'Missing required parameter: handle'
        '401':
          description: 鉴权失败，请检查 Authorization Header 中的 Bearer Token 或 API Key 是否有效
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 401
                  data: null
                  message: apiKey is null
        '402':
          description: 账户余额或额度不足
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 402
                  data: null
                  message: apiKey quota is not enough
        '429':
          description: 请求过于频繁，已触发限流
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 429
                  data: null
                  message: qps limit exceeded
        '500':
          description: 服务器内部错误，请稍后重试
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 500
                  data: null
                  message: Internal server error
      deprecated: false
      security:
        - JWT Bearer: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl --request GET \
              --url 'https://api.keyapi.ai/v1/linkedin/get_user_publications?urn=ACoAAB8rG_UB7cstjC__gk5318uYsZOIVkyysi4&page=1' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.keyapi.ai/v1/linkedin/get_user_publications',
                params={"urn": "ACoAAB8rG_UB7cstjC__gk5318uYsZOIVkyysi4", "page": 1},
                headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
            )
            print(response.json())
        - lang: javascript
          label: JavaScript
          source: >-
            const params = new URLSearchParams({"urn":
            "ACoAAB8rG_UB7cstjC__gk5318uYsZOIVkyysi4", "page": 1});


            const response = await
            fetch(`https://api.keyapi.ai/v1/linkedin/get_user_publications?${params}`,
            {
              method: 'GET',
              headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
            });

            const data = await response.json();

            console.log(data);
components:
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        接口鉴权凭证。请在请求 Header 中传入 `Authorization: Bearer <YOUR_API_KEY>`。
        可在 [Dashboard](https://keyapi.ai/app/dashboard) 获取你的 API Key。

````