diff --git a/README.md b/README.md index 4e652c2..df293b1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A Python client library providing high-level client interfaces for common Clever ## Overview -This package simplifies interaction with CleverMaps projects by providing intuitive, high-level methods that handle complex workflows behind the scenes. It's built on top of the CleverMaps Python OpenAPI SDK. +This package simplifies interaction with CleverMaps projects by providing intuitive, high-level methods that handle complex workflows behind the scenes. It's built on top of the [CleverMaps Python OpenAPI SDK](https://github.com/clevermaps/cm-python-openapi-sdk). ## Features - **Data Dumping**: Export datasets from CleverMaps projects to CSV files @@ -25,6 +25,7 @@ import cm_python_clients ## Example usage +### Data Dumping ```python from cm_python_clients import DataDumpClient @@ -38,3 +39,18 @@ sdk = DataDumpClient(api_token=access_token) output_file = sdk.dump_dataset_to_csv(project_id, dataset, output_path) ``` +### Data uploading + +```python +from cm_python_clients import LoadDataClient + +access_token = "" +project_id = "" +csv_file = "" +dataset = "" + +sdk = LoadDataClient(api_token=access_token) + +output_file = sdk.upload_data(project_id, csv_file, dataset) +``` +