-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from MtPoison/fin_sdk
Fully support the Carbone API
- Loading branch information
Showing
12 changed files
with
603 additions
and
404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
**/target | ||
**/build | ||
**/.vscode | ||
Cargo.lock | ||
|
||
.DS_Store | ||
|
||
### Rust ### | ||
# Generated by Cargo | ||
# will have compiled files and executables | ||
debug/ | ||
target/ | ||
|
||
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries | ||
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html | ||
Cargo.lock | ||
|
||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
|
||
# MSVC Windows builds of rustc generate these, which store debugging information | ||
*.pdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
|
||
## 2.0.0 | ||
- Released on 2024//: The package was originally made by Pascal CHENEVAS from . The Carbone team is now maintaining the SDK. This version brings all missing functions to interact with the Carbone API. | ||
- Added function `getStatus`: It return the current status and the version of the API as `String`. | ||
- Added error `HttpError`: It return the status code and a error message. | ||
- Modified for the `generate_report`: Optimization of api calls when there is error 404. | ||
- Modified for the `render_data`: When there is an error in the request, the function returns the status code and an error message. | ||
- Modified for the `new`: The value `api_token` is optional. | ||
- Added units tests. | ||
|
||
### v1.0.0 | ||
- Released on |
Oops, something went wrong.