How tired I am of Google way how get API tokens

You must: Create application and take its id and secret. Make a GET request to send secret and id with needed scopes of access. Obtain TEMPORARY access token and refresh token (first lives about 3000 — 5000 sec, the second can probably live infinite) Use this access token to GET something through REST, check if this token is not expires already.Short Read more —>

Google Drive API

Thanks to this guy, whose question and gist helps me understand the google api and requests for it to get access for google drive. I found everything! If anybody will be confused like me: Get your google drive your_api_key from here:[your_project] in section with name «API keys» — or you can generate it by pushing «New Credentials» ->Short Read more —>