Downloads
هذا المحتوى غير متوفر بلغتك بعد.
Everything here is generated from, or tested against, the same API description our build checks against the running code.
API description
Section titled “API description”- OpenAPI 3.0 description (
openapi-v1.json) — every operation with its parameters, schemas and an example. Load it in any OpenAPI tool, or generate your client contracts from it. It is also served live, without a token, athttps://api.slflo.com/api/integration/v1/openapi.json. - Postman collection (
slflo-integration-v1.postman_collection.json) — one request per operation, grouped like the API reference, with the examples filled in. Import it, set theslflo_tokenvariable to your sandbox token, and every write sends a freshIdempotency-Key. It also works in Bruno and Insomnia, which import Postman collections.
Code samples
Section titled “Code samples”The samples the guides show, as files. Our build runs the Python and C# samples against a real Slflo on every change.
Directorysamples
Directorypython Python 3.8+, standard library only
- slflo.py the client: 401, 429, 5xx
- quickstart.py
- pull_orders.py orders → sales orders
- fake_erp.py a stand-in for your ERP
- invoices_by_seq.py
- push_master_data.py
- master_data_answers.py
- push_prices_in_batches.py
- check_token.py
Directorycsharp .NET 10, no packages
Run any Python sample with your token in the environment; each prints one line of JSON saying
what it did. State (watermarks, the stand-in ERP’s books) goes to ./state, or STATE_DIR.
export SLFLO_TOKEN='sfi_live_…'python3 pull_orders.pycd csharp && dotnet run -- pull-orders # or: me, invoicesSample connector
Section titled “Sample connector”A complete connector in Kotlin — settings, the client, staging, orders, invoices, payments, returns and master data — cleaned from the one our build runs end to end. Read its README first.
Directorykotlin-connector
- README.md
- build.gradle.kts
- settings.gradle.kts
Directorysrc/main/kotlin/com/example/slflo

