📡 API 문서
이 페이지의 데이터를 JSON 형식으로 제공하는 API입니다. 모바일 앱이나 외부 서비스에서 활용할 수 있습니다.
응답 형식
각 데이터 소스별로 최신 10개 항목을 반환합니다.
{
"subcategory": "FC온라인",
"category": "게임",
"data": {
}
}
사용 예시
JavaScript (Fetch API):
fetch('/api/fconline/')
.then(response => response.json())
.then(data => {
console.log(data);
// 데이터 처리 로직
});
Python (requests):
import requests
response = requests.get('https://saerong.com/api/fconline/')
data = response.json()
print(data)
참고사항
- ✅ RESTful API 표준 준수
- ✅ JSON 형식 응답
- ✅ CORS 허용됨 (Cross-Origin 요청 가능)
- ⚠️ 과도한 요청 시 제한될 수 있습니다