Felo API PlatformFelo API Platform
Všechny endpointy X
v0.2.0-beta
OpenAPI 3.1.0

Získat informace o komunitě podle ID

Server:https://openapi.felo.ai
Klientské knihovny

Twitter / X

​

Query public users, posts, communities and trends.

Získat informace o komunitě podle ID

​

Získává metadata komunity X podle jejího číselného ID komunity — název, popis, počet členů a pravidla přístupu. Použijte k posouzení komunity před načtením jejích členů nebo příspěvků. Objekt se vrací v community_info. Chcete-li objevovat komunity podle tématu, prohledejte jejich příspěvky pomocí get_twitter_community_tweets_all.

Cenová reference

  • Účtování: pevná nákladová základna za úspěšný požadavek.
  • Referenční odhad požadavku: USD 0.0002.
  • Referenční multiplikátor zákazníka: 1.0. Neaplikujte jej znovu na zúčtovanou částku zákazníka.

Pouze referenční metadata, nikoli nabídka pro účet, garantovaná cena či limit utrácení. Kredity prostředků nejsou kredity Felo. Konečné účtování se řídí fakturačními záznamy Felo.

Parametry dotazu
  • community_id
    Typ: string
    povinné

    ID komunity

Odpovědi
  • 200
    Typ: object · Response8D25370A403A_CommunityInfoResponse

    Odpověď s informacemi o komunitě

    • community_info
      Typ: object · Response8D25370A403A_CommunityInfo
      • admin
        Typ: object · Response8D25370A403A_User
        • automatedBy
          Typ: string
        • canDm
          Typ: boolean
        • coverPicture
          Typ: string
        • createdAt
          Typ: string
        • description
          Typ: string
        • favouritesCount
          Typ: integer

          Integer numbers.

        • followers
          Typ: integer

          Integer numbers.

        • following
          Typ: integer

          Integer numbers.

        • hasCustomTimelines
          Typ: boolean
        • id
          Typ: string
        • isAutomated
          Typ: boolean
        • isBlueVerified
          Typ: boolean
        • isTranslator
          Typ: boolean
        • location
          Typ: string
        • mediaCount
          Typ: integer

          Integer numbers.

        • message
          Typ: string
        • name
          Typ: string
        • pinnedTweetIds
          Typ: array string[]
        • possiblySensitive
          Typ: boolean
        • profile_bio
          Typ: object
          • description
            Typ: string
          • entities
            Typ: object
            • description
              Typ: object
              • urls
                Typ: array object[]
                • display_url
                  Typ: string
                • expanded_url
                  Typ: string
                • indices
                  Typ: array integer[]
                • url
                  Typ: string
            • url
              Typ: object
              • urls
                Typ: array object[]
                • display_url
                  Typ: string
                • expanded_url
                  Typ: string
                • indices
                  Typ: array integer[]
                • url
                  Typ: string
        • profilePicture
          Typ: string
        • statusesCount
          Typ: integer

          Integer numbers.

        • type
          Typ: string
        • unavailable
          Typ: boolean
        • unavailableReason
          Typ: string
        • url
          Typ: string
        • userName
          Typ: string
        • verifiedType
          Typ: string
        • withheldInCountries
          Typ: array string[]
      • banner_url
        Typ: string | null
      • created_at
        Typ: string | null
      • creator
        Typ: object · Response8D25370A403A_User
        • automatedBy
          Typ: string
        • canDm
          Typ: boolean
        • coverPicture
          Typ: string
        • createdAt
          Typ: string
        • description
          Typ: string
        • favouritesCount
          Typ: integer

          Integer numbers.

        • followers
          Typ: integer

          Integer numbers.

        • following
          Typ: integer

          Integer numbers.

        • hasCustomTimelines
          Typ: boolean
        • id
          Typ: string
        • isAutomated
          Typ: boolean
        • isBlueVerified
          Typ: boolean
        • isTranslator
          Typ: boolean
        • location
          Typ: string
        • mediaCount
          Typ: integer

          Integer numbers.

        • message
          Typ: string
        • name
          Typ: string
        • pinnedTweetIds
          Typ: array string[]
        • possiblySensitive
          Typ: boolean
        • profile_bio
          Typ: object
          • description
            Typ: string
          • entities
            Typ: object
            • description
              Typ: object
              • urls
                Typ: array object[]
                • display_url
                  Typ: string
                • expanded_url
                  Typ: string
                • indices
                  Typ: array integer[]
                • url
                  Typ: string
            • url
              Typ: object
              • urls
                Typ: array object[]
                • display_url
                  Typ: string
                • expanded_url
                  Typ: string
                • indices
                  Typ: array integer[]
                • url
                  Typ: string
        • profilePicture
          Typ: string
        • statusesCount
          Typ: integer

          Integer numbers.

        • type
          Typ: string
        • unavailable
          Typ: boolean
        • unavailableReason
          Typ: string
        • url
          Typ: string
        • userName
          Typ: string
        • verifiedType
          Typ: string
        • withheldInCountries
          Typ: array string[]
      • description
        Typ: string | null
      • id
        Typ: string | null
      • invites_policy
        Typ: string | null
      • is_nsfw
        Typ: boolean
      • is_pinned
        Typ: boolean
      • join_policy
        Typ: string | null
      • member_count
        Typ: integer

        Integer numbers.

      • members_preview
        Typ: array object[]
        Prázdný objekt
      • moderator_count
        Typ: integer

        Integer numbers.

      • name
        Typ: string | null
      • primary_topic
        Typ: object
        • id
          Typ: string | null
        • name
          Typ: string | null
      • question
        Typ: string | null
      • role
        Typ: string | null
      • rules
        Typ: array object[]
        • description
          Typ: string
        • id
          Typ: string
        • name
          Typ: string
      • search_tags
        Typ: array string[]
    • msg
      Typ: string
    • status
      Typ: string enum
      hodnoty
      • success
      • error
    application/json
  • 400

    Požadavek se nepodařilo zpracovat. Zkontrolujte parametry požadavku.

  • 401

    Je vyžadován platný API klíč Felo.

  • 402

    V požadavku nelze pokračovat, protože není splněn požadavek na fakturaci.

  • 403

    Účet nemá oprávnění tuto operaci provést.

  • 429

    Byl dosažen limit požadavků nebo útraty.

  • 502

    Služba nemohla požadavek dokončit.

  • 503

    API nebo fakturační služba je dočasně nedostupná.

  • 504

    Při zpracování požadavku vypršel časový limit služby.

  • default

    Chybová odpověď; odpovědi předávané přímo od upstream poskytovatele mohou používat formáty poskytovatele

    application/json
Request Example for get/v1/beta/twitter/community/info
curl 'https://openapi.felo.ai/v1/beta/twitter/community/info?community_id=' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "community_info": {
    "id": null,
    "name": null,
    "description": null,
    "question": null,
    "member_count": 1,
    "moderator_count": 1,
    "created_at": null,
    "join_policy": null,
    "invites_policy": null,
    "is_nsfw": true,
    "is_pinned": true,
    "role": null,
    "primary_topic": {
      "id": null,
      "name": null
    },
    "banner_url": null,
    "search_tags": [
      "string"
    ],
    "rules": [
      {
        "id": "string",
        "name": "string",
        "description": "string"
      }
    ],
    "creator": {
      "type": "string",
      "userName": "string",
      "url": "string",
      "id": "string",
      "name": "string",
      "isBlueVerified": true,
      "verifiedType": "string",
      "profilePicture": "string",
      "coverPicture": "string",
      "description": "string",
      "location": "string",
      "followers": 1,
      "following": 1,
      "canDm": true,
      "createdAt": "string",
      "favouritesCount": 1,
      "hasCustomTimelines": true,
      "isTranslator": true,
      "mediaCount": 1,
      "statusesCount": 1,
      "withheldInCountries": [
        "string"
      ],
      "possiblySensitive": true,
      "pinnedTweetIds": [
        "string"
      ],
      "isAutomated": true,
      "automatedBy": "string",
      "unavailable": true,
      "message": "string",
      "unavailableReason": "string",
      "profile_bio": {
        "description": "string",
        "entities": {
          "description": {
            "urls": [
              {
                "display_url": "string",
                "expanded_url": "string",
                "indices": [
                  1
                ],
                "url": "string"
              }
            ]
          },
          "url": {
            "urls": [
              {
                "display_url": "string",
                "expanded_url": "string",
                "indices": [
                  1
                ],
                "url": "string"
              }
            ]
          }
        }
      }
    },
    "admin": {
      "type": "string",
      "userName": "string",
      "url": "string",
      "id": "string",
      "name": "string",
      "isBlueVerified": true,
      "verifiedType": "string",
      "profilePicture": "string",
      "coverPicture": "string",
      "description": "string",
      "location": "string",
      "followers": 1,
      "following": 1,
      "canDm": true,
      "createdAt": "string",
      "favouritesCount": 1,
      "hasCustomTimelines": true,
      "isTranslator": true,
      "mediaCount": 1,
      "statusesCount": 1,
      "withheldInCountries": [
        "string"
      ],
      "possiblySensitive": true,
      "pinnedTweetIds": [
        "string"
      ],
      "isAutomated": true,
      "automatedBy": "string",
      "unavailable": true,
      "message": "string",
      "unavailableReason": "string",
      "profile_bio": {
        "description": "string",
        "entities": {
          "description": {
            "urls": [
              {
                "display_url": "string",
                "expanded_url": "string",
                "indices": [
                  1
                ],
                "url": "string"
              }
            ]
          },
          "url": {
            "urls": [
              {
                "display_url": "string",
                "expanded_url": "string",
                "indices": [
                  1
                ],
                "url": "string"
              }
            ]
          }
        }
      }
    },
    "members_preview": [
      {}
    ]
  },
  "status": "success",
  "msg": "string"
}
Get Community Info By Id