STAFF BLOG
ホームページにカレンダーを配置するには?GoogleカレンダーのAPI取得方法
Web制作
2020/7/3
ホームページにカレンダーを配置するには?GoogleカレンダーのAPI取得方法
![](https://goo-up.com/wp-content/uploads/0321_03.jpg)
GoogleカレンダーのAPIキーの取得方法
1.Google Cloud プラットフォームにアクセス
グーグルアカウントにログインしている状態でGoogle Cloud プラットフォームにアクセス。
Google Cloud プラットフォーム2.Google Calendar APIをクリック
左サイドバーにある「ライブラリ」をクリックしてください。
次に、Google Calendar APIをクリック。
3.Google Calendar APIを有効にする
![](https://goo-up.com/wp-content/uploads/e20a48a8bc040d3d078e293a8d768f77.png)
4.「認証情報を作成」をクリック
![](https://goo-up.com/wp-content/uploads/cbdce36c1d3bdb337d9c801102e9b7ff.png)
5.プロジェクト認証情報
プロジェクト認証情報の追加にあるAPIキーをクリック
![](https://goo-up.com/wp-content/uploads/9f737a8a3ce745f7261716b9cd14d68a.png)
6.APIキーの設定
APIキーの名前を入れます。
![](https://goo-up.com/wp-content/uploads/81937ce3a6bbfb9c02c0fb6508da0d54.png)
APIキーの不正利用を防止するために「キーの制限」から「アプリケーションの制限」のタブで「HTTPリファラー(ウェブサイト)」にチェックを入れ、使用するWEBサイトのURLを入れます。
![](https://goo-up.com/wp-content/uploads/6466355a6e7a9e077e1d76e997167497.png)
7.APIキーの取得
![](https://goo-up.com/wp-content/uploads/e27b622a25ae012adb766e74ff25ffc4.png)