跳至主要內容

API文件

Smrt English客戶API

這是一個唯讀API,將學生與班級紀錄回傳至您機構的系統。每個API金鑰(API key)只能存取其所屬機構的資料。

開啟測試中心

運作方式

請求的處理流程

您的系統以自己的API金鑰請求某位學生或某個班級的資料,API以唯讀方式回傳相應紀錄。

您的系統您的學生資訊管理系統或報表工具。
您的API金鑰隨每個請求一同傳送,並與您的學校綁定。
Smrt English API提供學生與班級資料的唯讀端點。
您的紀錄以JSON格式回傳的成績、出缺勤與班級學生名單。
keyboard_arrow_up

Smrt English API

help Support

Getting Help

If you encounter issues or have questions:

1. Check This Documentation

  • Review error messages and status codes
  • Verify your API key and request format
  • Check code examples for your programming language

2. Contact Your Smrt English Representative

  • Email your assigned Smrt English representative
  • Include relevant error messages and HTTP status codes
  • Provide student ID or email being queried (if applicable)
  • Share your API key name (NOT the actual key itself)

3. Technical Details to Include in Support Requests

  • HTTP status code received
  • Full error response from the API
  • Request format and endpoint used
  • Programming language/framework
  • Timestamp of the error
  • Your institution name and API key name

Common Questions

Q: Can I modify student data through the API?

A: No, this is a read-only API for data retrieval and analytics only. Students and instructors make data modifications through the Smrt English platform.

Q: How often is data updated?

A: Data is real-time. When you query the API, you receive the current state of student progress as it exists in the Smrt English system.

Q: Is there a rate limit?

A: Currently there is no strict rate limit, but please be respectful of resources. We recommend implementing caching on your side and avoiding excessive repeated requests. Contact your Smrt representative if you need high-volume access.

Q: Can I access students from multiple institutions?

A: Each API key is tied to one institution. If your organization operates multiple institutions using Smrt English, please contact your Smrt representative to discuss your needs.

Q: What if a student doesn't have any completed assignments?

A: The assignments array will be empty [], and summary statistics will show 0 completed with appropriate metrics.

Q: Why do some fields not appear in the response?

A: Empty, null, or zero-value fields are automatically filtered out to keep responses clean and efficient. This reduces data transfer and makes parsing easier.

Q: Can I use email addresses to look up students?

A: Yes, the API accepts both user IDs (numeric) and email addresses as student identifiers.

Q: How do I get student user IDs for my institution?

A: Student user IDs can be obtained from your institution's Smrt English administrative interface, or you can use email addresses directly if you have them.

Q: What happens if a student transfers to a different institution?

A: If a student is no longer enrolled at your institution, the API will return a 404 (Not Found) error when you attempt to access their data.


Version Information

Current Version: 1.0
Release Date: September 2025
API Status: Production
Stability: Stable


For API key requests or technical support, please contact your Smrt English representative.
© 2025 Smrt English. All rights reserved.