데이터출처 : 공공데이터포터 OpenAPI05 EPowerDataCollector package com.yusen.i2b.openapi05 import android.util.Log import org.json.JSONObject class cEPowerDataCollector{ companion object{ const val TAG = "EPowerDataCollector" const val REQUESTING = 11 const val RESPONDED = 12 const val NEXTREQUEST = 13 const val PROCESSCOMPLETED = 19 const val NOCOMMAND = 91 const val IDLING= 1 const val PREPARING = 2 } priv..
데이터 출처 : 공공데이터포털 OpenAPI05 WeatherDataCollector package com.yusen.i2b.openapi05 import android.os.Build import android.util.Log import org.json.JSONObject import java.time.LocalDate import java.time.LocalDateTime import java.time.format.DateTimeFormatter import kotlin.random.Random class cWeatherDataCollector{ companion object{ const val TAG = "WeatherDataCollector" const val REQUESTING = 11 con..
데이터 출처 : 공공데이터포털 OpenAPI05 SeaWeatherDataCollector package com.yusen.i2b.openapi05 import android.os.Build import android.util.Log import org.json.JSONObject import java.lang.Exception import java.time.LocalDate import java.time.format.DateTimeFormatter import java.util.* import kotlin.collections.ArrayList class cSeaWeatherDataCollector{ companion object{ const val TAG = "SeaWeatherDataCollecto..
Upload files Download files Write spreadsheets Google APIs > User Authentication > ... >사용자 인증정보 만들기 > OAuth Client ID > 'Create(생성)' "pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib" from __future__ import print_function import pickle import os.path from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from go..
data1 = { 'RequestType': 'InsertArticles', 'KeywordID': keywordID, 'Tablename':tableName, 'CollectedArticles':json.dumps(articleList) } res1 = requests.post(self.ServerURL, headers=self.REQUESTHEADER, data=data1) echo "Inserting articles ... "; $KeywordID = $_POST['KeywordID']; $Tablename = $_POST['Tablename']; $Datas1 = $_POST['CollectedArticles']; $Datas1J = json_decode($Datas1, true); foreach..
import requests import json class cNaverAPI_Search: def __init__(self): pass def StartSearch_News(self, keyWord): maxDisplay = 100 url = "https://openapi.naver.com/v1/search/news?"+'display='+str(maxDisplay) clientId = 'ID' clientSecret = 'SECRET' queryString = '&query='+keyWord header = { 'X-Naver-Client-Id':clientId, 'X-Naver-Client-Secret':clientSecret } response = requests.get(url+queryStrin..
Chrome driver "pip install selenium" from selenium import webdriver from selenium.webdriver.common.keys import Keys import datetime from random import * from weasyprint import HTML class cNaverSearch: EXECUTABLE_PATH = ".../ChromeDriver/chromedriver.exe" def __init__(self): pass def GetLinkPage(self, linkAddress): try: webDriver = webdriver.Chrome(executable_path=self.EXECUTABLE_PATH) webDriver...
Chrome driver "pip install selenium" from selenium import webdriver from selenium.webdriver.common.keys import Keys import datetime from random import * from weasyprint import HTML class cGoogleSearch: EXECUTABLE_PATH = ".../ChromeDriver/chromedriver.exe" def __init__(self): pass def GetLinkPage(self, linkAddress): try: webDriver = webdriver.Chrome(executable_path=self.EXECUTABLE_PATH) print("[P..
Chrome driver "pip install selenium" from selenium import webdriver from selenium.webdriver.common.keys import Keys import datetime from random import * from weasyprint import HTML class cDaumSearch: EXECUTABLE_PATH = ".../ChromeDriver/chromedriver.exe" def __init__(self): pass def GetLinkPage(self, linkAddress): try: webDriver = webdriver.Chrome(executable_path=self.EXECUTABLE_PATH) webDriver.g..
보호되어 있는 글입니다.
- Total
- Today
- Yesterday
- 치매
- 혁신과허들
- Decorator
- 아두이노
- arduino
- 배프
- 티스토리챌린지
- 절연형
- 심심풀이치매방지기
- Innovations&Hurdles
- 전류
- Innovation&Hurdles
- 오블완
- ServantClock
- 허들
- 혁신
- 전압전류모니터링
- DYOV
- 심심풀이
- bilient
- Hurdles
- 전압
- BSC
- 둎
- image
- 빌리언트
- Innovations
- 치매방지
- Video
- badp
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |