-
I tried website crawling with this codes
```
use std::collections::HashMap;
use reqwest::header::USER_AGENT;
use reqwest::header::ACCEPT;
#[tokio::main]
async fn main() -> Result {
let …
-
안녕하세요.
npm 으로 해당 파일들을 다운하여 localhost에서 사용하려고하는데 cors 크로스 도메인 때문에 사용이 어렵네요..
어떻게 해야 정보를 불러올수있을까요?? 제가 하던방식으로 cors 를 해결하면 opendart페이지의 https://opendart.fss.or.kr/code404.html 에러페이지정보만 가져오네요..
답변주시면 감…
-
rcept_no '20221111000817' 를
`dart = OpenDartReader(api_key)`
`dart.document('20221111000817')`
로 열면
ValueError: {'status': '014', 'message': '파일이 존재하지 않습니다.'}
라고 뜹니다.
-
-
rest template 사용
학습테스트 작성
-
'corp_code': '00138516',
'bsns_year': '2021',
'reprt_code': '11013',
'fs_div': 'CFS'
> 문제점 : sub_account를 만들기 전 에 fs_account가 만들어 져야 하는데 만들지 못함
> 유동 자산, 비유동자산 같은 fs_account가 api를 통해 받은 jso…
-
### 주요사항
- 기업개황 API를 사용하여, 기업 종목코드 존재여부를 통해 상장여부 확인
-
### 리팩토링 대상 API
- getCorpFinancialInfo(String, String)
- API url : api/fnlttSinglAcnt.json
- 정기보고서 재무정보 / 단일회사 주요계정
- getRecentReportList(String, int)
- getRecentReportList(String, int, Rep…
-
**Submitting author:** @luisaforozco (Luisa Fernanda Orozco)
**Repository:** https://gitlab.com/open-darts/open-darts
**Branch with paper.md** (empty if default branch): JOSS_submission
**Version:** v…
-
### 문제사항
- (1) API 응답 메시지가 정리되있지 않음
- (2) 응답에 대해 공통영역(기능) 추출해야함
- (3) RestTemplate와 관련하여 사용법 미숙
#### API 호출 공통부분
- RestTemplate 생성
- URI 인스턴스 생성
- response 인스턴스에 담긴 HTTP 응답 상태코드 확인
- DTO 인스턴…