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.
|
- post: Creates or updates data in the SuperFaktura API.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
import superfaktura.superfaktura_api
|
>>> import superfaktura.superfaktura_api
|
||||||
|
>>> # Create an instance of SuperFakturaAPI
|
||||||
# Create an instance of SuperFakturaAPI
|
>>> api = superfaktura.superfaktura_api.SuperFakturaAPI()
|
||||||
api = superfaktura.superfaktura_api.SuperFakturaAPI()
|
>>> # Retrieve data from the SuperFaktura API
|
||||||
|
>>> incoming_data = api.get('endpoint')
|
||||||
# Retrieve data from the SuperFaktura API
|
>>> # Create or update data in the SuperFaktura API
|
||||||
data = api.get('endpoint')
|
>>> api.post('endpoint', outgoing_data)
|
||||||
|
|
||||||
# Create or update data in the SuperFaktura API
|
|
||||||
api.post('endpoint', data)
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|||||||
Reference in New Issue
Block a user