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

From Wiki Kaminari Click
(Importing a new version from external source)
(Importing a new version from external source)
 
Line 1: Line 1:
==== Python ====
=== Python ===
  import requests
  import requests
   
   

Latest revision as of 17:10, 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)