- 対象API: 日本銀行「時系列統計データ検索サイト」API機能
- 公開日(公式資料上): 2026-02-18
- APIバージョン: v1(URLパス
/api/v1/) - エンドポイント数: 3(コードAPI / 階層API / メタデータAPI)
- 注意: 本書は公式資料を読みやすく再構成した「非公式仕様書」です。公式の停止・仕様変更の可能性を前提に実装してください。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export interface SerpScrapingResult { | |
| query: string; | |
| title: string; | |
| position: number; | |
| url: string; | |
| } | |
| function createRequestParams(apiKey: string, query: string): RequestInit { | |
| return { | |
| method: 'POST', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style> | |
| .container { | |
| display: flex; | |
| flex-direction: row-reverse; | |
| flex-wrap: nowrap; | |
| justify-content: flex-start; | |
| align-items: stretch; | |
| overflow-x: scroll; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function fetchImageText($filePath = null, $apiKey = null) | |
| { | |
| if (empty($filePath) || empty($apiKey)) { | |
| return; | |
| } | |
| $json = json_encode(array( | |
| "requests" => array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * A class which provide public listing proxies rotated when client request. | |
| */ | |
| Class ScrapingProxyProvider | |
| { | |
| // Proxies available. | |
| private $proxyDatas = array(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class TravisCI { | |
| /* | |
| * check whether test is running on TravisCI or not using TravisCI enviroment variables. | |
| * | |
| * as for TravisCI enviroment variables availables @see https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables | |
| * | |
| */ | |
| static var isRunningOnTravisEnviroment: Bool { | |
| let isTravisEnviromentVariableName = "CI" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| post_install do |installer| | |
| pods_project = installer.pods_project | |
| pods_project.build_configurations.each do |configuration| | |
| pods_project.build_settings(configuration.name)['ONLY_ACTIVE_ARCH'] = 'NO' | |
| end | |
| puts "Forcedly set CocoaPods project `Pods`’s `Build Only Architecture` to `NO`” | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php namespace App\Services; | |
| use GuzzleHttp\Client; | |
| class OneSignal { | |
| const API_URL_ADD_PLAYER = 'https://onesignal.com/api/v1/players'; | |
| const API_URL_CREATE_PUSH = 'https://onesignal.com/api/v1/notifications'; | |
| const DEVICE_TYPE_IOS = 0; | |
| const DEVICE_TYPE_ANDROID = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RewriteEngine on | |
| RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] | |
| RewriteRule ^(.*)$ http://%1%{REQUEST_URI} [R=301,QSA,NC,L] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ################################################################################ | |
| # | |
| # Apple Push Notification Certificate Creator v 0.1 | |
| # | |
| ################################################################################ | |
| #After exporting APNs certificates for development as "apns_dev.p12" and the one for production as "apns_pro.p12" | |
| # Development | |
| openssl pkcs12 -clcerts -nokeys -out apns_dev_cert.pem -in apns_dev.p12 |
NewerOlder