Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[시각화][기본] 펑션레벨 아웃풋 데이터 json 추가 #8

Open
pyotel opened this issue Aug 28, 2018 · 3 comments
Open

[시각화][기본] 펑션레벨 아웃풋 데이터 json 추가 #8

pyotel opened this issue Aug 28, 2018 · 3 comments

Comments

@pyotel
Copy link

pyotel commented Aug 28, 2018

No description provided.

@ghost
Copy link

ghost commented Aug 29, 2018

import os
import sys
import urllib.request
client_id = "GzZwiQU0fQoicsI2PaL9"
client_secret = "***"
encText = urllib.parse.quote("Guider")
url = "https://openapi.naver.com/v1/search/blog?query=" + encText # json 결과

url = "https://openapi.naver.com/v1/search/blog.xml?query=" + encText # xml 결과

request = urllib.request.Request(url)
request.add_header("X-Naver-Client-Id",client_id)
request.add_header("X-Naver-Client-Secret",client_secret)
response = urllib.request.urlopen(request)
rescode = response.getcode()
if(rescode==200):
response_body = response.read()
print(response_body.decode('utf-8'))
else:
print("Error Code:" + rescode)

@iipeace
Copy link
Collaborator

iipeace commented Sep 7, 2018

함수 단위의 실시간 리소스 사용량 출력은 조금 어려울 것 같습니다.
kernel 함수만 출력하는건 샘플링으로 가능하긴 한데,
어떻게 생각하세요?

@pyotel
Copy link
Author

pyotel commented Sep 7, 2018

@iipeace
네 좋습니다
이걸 굳이 하려고 하는 이유는 기존 자빅스라는 비슷한 기능의 오픈소스와 차별을 주고 싶어서 이니까요

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants