# Undocumented Web API 사용하는 법

> Clean Markdown view of GeekNews topic #6139. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=6139](https://news.hada.io/topic?id=6139)
- GeekNews Markdown: [https://news.hada.io/topic/6139.md](https://news.hada.io/topic/6139.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-03-14T09:47:01+09:00
- Updated: 2022-03-14T09:47:01+09:00
- Original source: [jvns.ca](https://jvns.ca/blog/2022/03/10/how-to-use-undocumented-web-apis/)
- Points: 9
- Comments: 1

## Topic Body

0. 브라우저가 하는 동작을 분석해서 그대로 사용하기  
→ 예제는 구글 Hangout   
1. 개발자 도구를 통해서 JSON 응답 찾기   
2. Copy as CURL로 복사하고 gunzip으로 풀기   
3. 관련없는 헤더 제거하기   
4. 파이썬으로 변환하기   
- CurlConverter를 이용하면 Curl을 자동으로 파이썬 코드로 변환가능   
- 챙겨야할 문제들 : 세션쿠키 만료 와 어뷰징   
- 누구든지 당신의 Undocumented API를 사용할 수 있다는 것을 명심할 것

## Comments



### Comment 9232

- Author: wan2land
- Created: 2022-03-14T12:57:58+09:00
- Points: 2

웹개발자 분들은 copy as fetch, copy as node.js fetch를 사용하면 거의 한번에 해결됩니다.
