Posted by on January 13, 2017

As much as I want to dig right into coding, there is work to be done before you can access the google APIs for your applications.  To start off you need to go to the Google API Console, create a project and create credentials for that project that you will use to connect to the API.

Create a Project

Step one is to go to the Google API Console and create a project ( console.developer.google.com ):

 

In the ‘New Project’ dialog box that comes up give your project a name an optionally provide it a custom unique Project ID

Create Credentials

Before you create your credentials, you first need to provide a Product name on the OAuth consent screen (more on what that is later).  To do so click on ‘Credentials’ on the left sidebar, choose the ‘OAuth consent screen’ tab, choose an email address and enter an application name.  This is the name that will be presented to users when they grant your app

With that out of the way you can now finally get your credentials.  Click on the ‘Credentials’ tab -> “Create Credentials” drop down, and choose “OAuth client ID”:

Next, choose “Web Application” and name your client ID.  My purposes did not need the Restrictions area.  Skip that for now:

FINALLY, you can download your credential blob.  Save it in a secure location as client_secret.json:

Now that that is out of the way in the next port we will start to code.

Special Note: Admin SDK

If you want to use the APIs in the Admin SDK for your G Suite domain you need to enable API access in the admin panel. From admin.google.com Choose Security -> API Reference and client the ‘Enable API Access’ checkbox.

Posted in: google api, oauth2, perl

Comments

  1. заказать сайт
    March 30, 2021

    Leave a Reply

    Your comment is awaiting moderation.

    Доброго времени суток, здравствуйте!
    Нужен сайт для бизнеса? – https://суперсайт.рус/
    Хочу Вам порекомендовать очень крутых ребят, которые создаю мощные сайты, которые позволят получить Вам много клиентов:
    Агентство называется
    https://суперсайт.рус – лендинг пейдж заказать москва

    Компания подготовит для Вас:
    – супер сайт
    – бизнес-лендинг
    который:
    – принесёт много потенциальных клиентов
    – обеспечит высокую конверсию
    – будет отличной имидж-визиткой
    Пожалуйста, обращайтесь:
    http://суперсайт.рус – продающий лендинг

    В наше современное время сайт – важный фактор продвижения Вашего бизнес в интернете, поэтому от того, какого качества будет создан сайт – зависит качество бизнеса, количество привлеченных клиентов.
    Крутые лендинги с мощным дизайном, адаптированные под смартфоны.
    Бонус для Вас: красивая картинка:

    https://www.суперсайт.русhttps://i.ibb.co/qFP7gyy/40.jpg

    http://xn--80ajnvgddkc.xn--p1acf – лендинг москва,
    https://is.gd/5JF9dc – сайт с продвижением – http://xn--80ajnvgddkc.xn--p1acf/

  2. заказать сайт
    March 31, 2021

    Leave a Reply

    Your comment is awaiting moderation.

    Друзья, приветствую!
    Кто разрабатывает самые крутые сайты? – https://суперсайт.рус/
    Хочу Вам порекомендовать очень крутых ребят, которые создаю мощные сайты, которые позволят получить Вам много клиентов:
    Компания называется
    https://суперсайт.рус – лендинг

    Компания создаст для Вас:
    – супер сайт
    – мульти-лендинг
    который:
    – обеспечит много потенциальных клиентов
    – обеспечит высокую конверсию
    – будет отличной имидж-визиткой
    Пожалуйста, обращайтесь:
    http://суперсайт.рус – стоимость лендинга

    В наше современное время сайт-лендинг – ключевой фактор продвижения бизнеса в Сети, поэтому от того, какого качества будет реализован сайт – зависит качество бизнеса, количество привлеченных клиентов.
    Продающиеся сайты с современным дизайном, адаптированные под телефоны.
    Бонус для Вас: красивая картинка:

    https://www.суперсайт.русhttps://i.ibb.co/qBF292w/39.jpg
    https://www.суперсайт.русhttps://i.ibb.co/C6dJC4T/37.jpg
    http://xn--80ajnvgddkc.xn--p1acf – конверсия лендинга,
    https://clck.ru/RSBPY – заказать сайт – http://xn--80ajnvgddkc.xn--p1acf/

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*