BytesIO asyncio + pycurl + BytesIO 비동기 일괄 호출 url 요청 import asyncioimport pycurlfrom io import BytesIOimport json def fetch_api (url, method, header = None, data = None): "url: api 를 가 져 오 는 urlmethod: 요청 방법 header: 요청 헤더 data: 요청 매개 변수" "" get 요청 테스트 헤더 = ['Content - Type... asynciopycurlBytesIO
asyncio + pycurl + BytesIO 비동기 일괄 호출 url 요청 import asyncioimport pycurlfrom io import BytesIOimport json def fetch_api (url, method, header = None, data = None): "url: api 를 가 져 오 는 urlmethod: 요청 방법 header: 요청 헤더 data: 요청 매개 변수" "" get 요청 테스트 헤더 = ['Content - Type... asynciopycurlBytesIO