Translations:Stat API/17/ru: Difference between revisions

From Wiki Kaminari Click
No edit summary
No edit summary
 
Line 1: Line 1:
==== Python ====
=== Python ===
  import requests
  import requests
   
   

Latest revision as of 17:50, 10 April 2024

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Stat API)
=== Python ===
 import requests
 
 headers = {
     'accept': '*/*',
 }
 
 response = requests.options('<nowiki>https://kaminari.click/api/stat/get'</nowiki>, headers=headers)
 response = requests.options('<nowiki>http://Authorization</nowiki>: Bearer <YOUR API_TOKEN>', headers=headers)

Python

import requests

headers = {
    'accept': '*/*',
}

response = requests.options('https://kaminari.click/api/stat/get', headers=headers)
response = requests.options('http://Authorization: Bearer <YOUR API_TOKEN>', headers=headers)