Felo API PlatformFelo API Platform
endpoint ทั้งหมดของ Reddit
v0.2.0-beta
OpenAPI 3.1.0

ค้นหา Reddit

เซิร์ฟเวอร์:https://openapi.felo.ai
ไลบรารีไคลเอนต์

Reddit

​

Public communities, posts, comments and search.

Reddit การดำเนินการ

ค้นหา Reddit

​

ค้นหาเนื้อหา Reddit สาธารณะด้วยตัวควบคุม query, count, limit, time และ trimming ที่ระบุไว้ในเอกสาร สัญญานี้ไม่ได้ประกาศ after token; ฟิลด์การแบ่งหน้าในการตอบกลับไม่ใช่อินพุตที่รองรับเพิ่มเติม

ข้อมูลอ้างอิงราคา

  • การวัดปริมาณการใช้งาน: จำนวนผลลัพธ์ที่วัดปริมาณ
  • ค่าประมาณคำขออ้างอิง: USD 0.00188
  • ตัวคูณอ้างอิงสำหรับลูกค้า: 1.0 ห้ามนำไปใช้ซ้ำกับยอดที่เรียกเก็บจากลูกค้าแล้ว

เป็นข้อมูลเมตาอ้างอิงเท่านั้น ไม่ใช่ใบเสนอราคาสำหรับบัญชี ไม่ใช่ราคาที่รับประกัน และไม่ใช่เพดานการใช้จ่าย เครดิตของทรัพยากรไม่ใช่เครดิต Felo ยอดเรียกเก็บขั้นสุดท้ายเป็นไปตามบันทึกการเรียกเก็บเงินของ Felo

พารามิเตอร์ในคิวรี
  • count
    ประเภท: string
  • limit
    ประเภท: string
  • query
    ประเภท: string
  • sort
    ประเภท: string
  • time
    ประเภท: string
  • timeframe
    ประเภท: string
  • trim
    ประเภท: string
  • trimmed
    ประเภท: string
การตอบกลับ
  • 200
    ประเภท: object · Response799D183Abaf0_RedditPostsResponse

    การตอบกลับสำเร็จ

    • after
      ประเภท: string | null
    • credits_remaining
      ประเภท: integer

      Integer numbers.

    • cursor
      ประเภท: string | null
    • posts
      ประเภท: array object[] · Response799D183Abaf0_RedditPost[]
      • propertyName
        ประเภท: anything
    • success
      ประเภท: boolean
    • propertyName
      ประเภท: anything
    application/json
  • 400

    ไม่สามารถประมวลผลคำขอได้ ตรวจสอบพารามิเตอร์ของคำขอ

  • 401

    จำเป็นต้องใช้คีย์ API ของ Felo ที่ถูกต้อง

  • 402

    ไม่สามารถดำเนินการตามคำขอได้ เนื่องจากไม่เป็นไปตามข้อกำหนดด้านการเรียกเก็บเงิน

  • 403

    บัญชีไม่ได้รับอนุญาตให้ดำเนินการนี้

  • 429

    ถึงขีดจำกัดคำขอหรือการใช้จ่ายแล้ว

  • 502

    บริการไม่สามารถดำเนินการตามคำขอให้เสร็จสิ้นได้

  • 503

    API หรือบริการเรียกเก็บเงินไม่พร้อมใช้งานชั่วคราว

  • 504

    บริการหมดเวลาระหว่างประมวลผลคำขอ

  • default

    การตอบกลับข้อผิดพลาด; การตอบกลับที่ส่งผ่านจากต้นทางอาจใช้รูปแบบของผู้ให้บริการ

    application/json
Request Example for get/v1/beta/reddit/search
curl https://openapi.felo.ai/v1/beta/reddit/search \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "success": true,
  "posts": [
    {
      "id": "w63dgy",
      "author": "Morgentau7",
      "author_fullname": "t2_2hy2xjit",
      "subreddit": "MadeMeSmile",
      "title": "Player realizes that he nearly stole the dogs job",
      "downs": 0,
      "name": "t3_w63dgy",
      "upvote_ratio": 0.97,
      "ups": 220403,
      "total_awards_received": 0,
      "score": 220403,
      "created": 1658580900,
      "num_comments": 1246,
      "url": "https://www.reddit.com/r/MadeMeSmile/comments/w63dgy/player_realizes_that_he_nearly_stole_the_dogs_job/",
      "subreddit_subscribers": 11605207,
      "is_video": true,
      "created_utc": 1658580900
    }
  ],
  "after": "t3_1izmcgx"
}
Search Reddit