# Quickstart (/developer/quickstart)

ยิง request แรกไปยัง EasyDonate API ด้วย API key ภายใน 5 นาที



คู่มือนี้พาคุณยิง request แรกไปยัง EasyDonate API ภายในประมาณ 5 นาที

## 1. สร้าง API key [#1-สร้าง-api-key]

ไปที่ <NavPath href="https://easydonate.app/dashboard/developer?tab=apiKeys" items="['หน้าจัดการ', 'โซนผู้พัฒนา', 'API Keys']" /> สร้าง key ใหม่
แล้วเลือก scope ที่ต้องการ (ดูรายละเอียดที่หน้า [Scopes](/developer/scopes))

<Callout type="warn">
  API key แสดงให้เห็นครั้งเดียวตอนสร้าง - เก็บไว้ในที่ปลอดภัย และอย่า commit ลง
  repository
</Callout>

<SetToken />

## 2. เรียกดูข้อมูลบัญชีของคุณ [#2-เรียกดูข้อมูลบัญชีของคุณ]

<Playground path="/api/v1/me" method="get" />

## 3. ดูรายการโดเนทล่าสุด [#3-ดูรายการโดเนทล่าสุด]

(ต้องมี scope `read:donations`)

<Playground path="/api/v1/donations" method="get" />

## 4. ควบคุมวิดเจ็ต timer [#4-ควบคุมวิดเจ็ต-timer]

(ต้องมี scope `write:timer`)

<Playground path="/api/v1/widgets/timer/control" method="post" />

## Response envelope [#response-envelope]

ทุก response ใช้ envelope มาตรฐานเดียวกัน:

```json
{ "statusCode": 200, "data": {} }
```

## ขั้นถัดไป [#ขั้นถัดไป]

* [Authentication](/developer/authentication) - token 2 ประเภทและการใช้งาน
* [Inbound Donations API](/developer/inbound-donations) - ส่ง event โดเนทขึ้นจอไลฟ์
* [OAuth](/developer/oauth) - ทำงานแทนผู้ใช้ EasyDonate คนอื่น
* [API Reference](/developer/api-reference) - endpoint ทั้งหมดพร้อมตัวอย่าง
