Your SlideShare is downloading. ×
  • Like
日本の連休 2013
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

日本の連休 2013

  • 1,714 views
Published

To obtain Japanese holidays by Google Calendar API, with an introduction to jquery.partyhard

To obtain Japanese holidays by Google Calendar API, with an introduction to jquery.partyhard

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,714
On SlideShare
0
From Embeds
0
Number of Embeds
7

Actions

Shares
Downloads
1
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 日本の連休 2013 motemen
  • 2. 10 - 1 = 9
  • 3. 2013年の≧3連休☑ 成人の日 ☐ 敬老の日☐ 建国記念の日 ☐ 秋分の日☐ 昭和の日 ☐ 体育の日☐ 憲法記念日 ☐ 文化の日☐ みどりの日☐ こどもの日 ☐ 天皇誕生日☐ 海の日
  • 4. “次の連休”goo.gl/VQUKu
  • 5. 実装•単体 HTML (JavaScript) •100 行くらい•祝日の一覧から連休を計算
  • 6. Google カレンダー
  • 7. Google Calendar API•developers.google.com/ google-apps/calendar/
  • 8. Google Calendar API•JS のライブラリあるけど面倒 •google-api-javascript-client •RESTful API を直接叩いてもよい •/v3/reference/events/list#try-it •Cross-Origin XHR
  • 9. with jQuery$.ajax( https://www.googleapis.com/calendar/v3/↵ calendars/japanese__ja%40holiday.calendar.↵ google.com/events, { data: { key: API_KEY }, dataType: json}) ※ OAuth 認証が必要な API もあります
  • 10. One more thing on holidays
  • 11. goo.gl/VQUKu#2013-02-09
  • 12. jquery.partyhardmotemen/jquery-partyhard
  • 13. USAGE$(document.body).partyhard();
  • 14. USAGE • Tumblr JSONP API • www.tumblr.com/docs/en/api/ v2#tagged-method • party hard gif | Tumblr$(document.body).partyhard({ tag: ‘cat gif’ });
  • 15. 次の連休は2日後です(建国記念の日)