Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
退屈なことは RedashAPI にやらせよう/utilize-redash
Search
araiman
September 03, 2019
Programming
790
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
退屈なことは RedashAPI にやらせよう/utilize-redash
RedashAPIの紹介 @Redash Meetup 6.0.0
araiman
September 03, 2019
More Decks by araiman
See All by araiman
Redashのreplaceを試みたが、 結局使い続けている話/try-replace-redash
araiman
0
230
Other Decks in Programming
See All in Programming
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
150
Simple Storage Service(S3) is not simple
iwatsukayura
0
290
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
220
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.1k
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.6k
ジョジョの世界をXRで再現する
mofurune
0
160
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
気持ちぃ〜角丸 Squircle
ryu1013
0
310
Featured
See All Featured
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
410
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
460
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
Between Models and Reality
mayunak
4
500
My Coaching Mixtape
mlcsv
0
360
How to build a perfect <img>
jonoalderson
1
6.1k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Transcript
౹ƍŶƋƒ RedashAPI ƎƧƬžƫũ 3FEBTI.FFUVQ !BSJNBOY
ࣗݾհ w ໊લߥҪ྄ຏ w ৬छσʔλΤϯδχΞ!גࣜձࣾΤϒϦʔ w झຯٿ؍ઓ υϥΰϯζϚϦʔϯζ w
5XJUUFS!BSBJNBOY
ΞδΣϯμ w "1*ʹΑΓ࡞ۀΛେ෯ʹͬͨࣄྫ w "1*ػೳ֓ཁ w "1*ར༻ͷྲྀΕdάϥϑͷՄࢹԽΛྫʹd
ΞδΣϯμ w "1*ʹΑΓ࡞ۀΛେ෯ʹͬͨࣄྫ w "1*ػೳ֓ཁ w "1*ར༻ͷྲྀΕdάϥϑͷՄࢹԽΛྫʹd
࣌ؒ
࡞ۀ༰ ҎԼͷΑ͏ͳνϟʔτΛݸ࡞Δඞཁ͕͋ͬͨ
࡞ۀఔ "1*׆༻લ ΫΤϦ࡞ ΫΤϦ࣮ߦ άϥϑඳը ɾ42-ͷهड़ ɾมͷઃఆ ɾ࣮ߦ ɾ9:࣠ͷઃఆ ɾมͷઃఆ
ɾ:࣠ͷεέʔϧ ɹมߋ
࡞ۀఔ "1*׆༻ޙ ΫΤϦ࡞ ΫΤϦ࣮ߦ άϥϑඳը ɾ42-ͷهड़ ɾมͷઃఆ શͯࣗಈԽ͠·ͨ͠ ɾ࣮ߦ ɾ9:࣠ͷઃఆ
ɾมͷઃఆ ɾ:࣠ͷεέʔϧ ɹมߋ
༻ٕज़ w ݴޠ w 1ZUIPO w ϥΠϒϥϦ w KTPO w
SFRVFTUT
ΞδΣϯμ w "1*ʹΑΓ࡞ۀΛେ෯ʹͬͨࣄྫ w "1*ػೳ֓ཁ w "1*ར༻ͷྲྀΕdάϥϑͷՄࢹԽΛྫʹd
άϥϑͷඳը·Ͱ"1*Ͱ݁Ͱ͖Δ͜ͱ ͍ͬͯ·͔ͨ͠ʁ
ެࣜυΩϡϝϯτͷهड़ ΫΤϦͷग़ྗɺΫΤϦͷߋ৽ʹؔͯ͠ͷྫࣔ
ιʔείʔυ ͨ͘͞Μʂ(6*ʹଘࡏ͢ΔػೳԿͰͰ͖ͦ͏
"1*ͷػೳ֓ཁ Queries Resouce ΫΤϦͷ$36%ɾ42-ϑΥʔϚοτɾΫΤϦݕࡧ QueryResults Resouce ΫΤϦͷ࣮ߦɾΫΤϦ݁Ռͷऔಘ Job Resource ࣮ߦதδϣϒͷऔಘΩϟϯηϧ
Visualization Resource άϥϑͷ$36% Dashboard Resource μογϡϘʔυͷ$36%
ΞδΣϯμ w "1*ʹΑΓ࡞ۀΛେ෯ʹͬͨࣄྫ w "1*ػೳ֓ཁ w "1*ར༻ͷྲྀΕdάϥϑͷՄࢹԽΛྫʹd
"1*ར༻ͷྲྀΕdάϥϑͷՄࢹԽΛྫʹd w 6TFS"1*,FZͷऔಘ w +40/ܗࣜͷϦΫΤετσʔλ࡞ w "1*ͷϦΫΤετ
6TFS"1*,FZͷऔಘ ΞΧϯτϖʔδ͔ΒऔಘՄೳ
+40/ܗࣜͷϦΫΤετσʔλ࡞ body = { "id": None, "type": "CHART", "name": "άϥϑ໊",
"description": "", "options": { "globalSeriesType": "bubble", "columnMapping": { “column_for_x”: "x", “column_for_y”: "y", “column_for_series”: "series", “column_for_bubble_size”: "size" }, ... }, "query_id": 1234 } νϟʔτͷछྨ ΧϥϜࢦఆ
"1*ͷϦΫΤετ body = { "id": None, ... "query_id": 1234 }
header = { "content-type": "application/json", "Authorization": "Key your_api_key" } requests.post( "http://localhost/api/visualizations/1234", data=json.dumps(body), headers=header )
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠