mirror of
https://github.com/Eledio/superfaktura-client.git
synced 2025-11-01 00:18:25 +01:00
superfaktura_api: update usages in docs
This commit is contained in:
@@ -14,16 +14,13 @@ Functions:
|
||||
- post: Creates or updates data in the SuperFaktura API.
|
||||
|
||||
Usage:
|
||||
import superfaktura.superfaktura_api
|
||||
|
||||
# Create an instance of SuperFakturaAPI
|
||||
api = superfaktura.superfaktura_api.SuperFakturaAPI()
|
||||
|
||||
# Retrieve data from the SuperFaktura API
|
||||
data = api.get('endpoint')
|
||||
|
||||
# Create or update data in the SuperFaktura API
|
||||
api.post('endpoint', data)
|
||||
>>> import superfaktura.superfaktura_api
|
||||
>>> # Create an instance of SuperFakturaAPI
|
||||
>>> api = superfaktura.superfaktura_api.SuperFakturaAPI()
|
||||
>>> # Retrieve data from the SuperFaktura API
|
||||
>>> incoming_data = api.get('endpoint')
|
||||
>>> # Create or update data in the SuperFaktura API
|
||||
>>> api.post('endpoint', outgoing_data)
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
Reference in New Issue
Block a user