esenin_family_client 0.0.5 esenin_family_client: ^0.0.5 copied to clipboard
Api client for esenin family backend
esenin_family_client (EXPERIMENTAL) #
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: 1.0
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen
Requirements #
- Dart 2.12.0 or later OR Flutter 1.26.0 or later
- Dio 4.0.0+
Installation & Usage #
pub.dev #
To use the package from pub.dev, please include the following in pubspec.yaml
dependencies:
esenin_family_client: 0.0.5
Github #
If this Dart package is published to Github, please include the following in pubspec.yaml
dependencies:
esenin_family_client:
git:
url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
#ref: main
Local development #
To use the package from your local drive, please include the following in pubspec.yaml
dependencies:
esenin_family_client:
path: /path/to/esenin_family_client
Getting Started #
Please follow the installation procedure and then run the following:
import 'package:esenin_family_client/esenin_family_client.dart';
final api = EseninFamilyClient().getPosterApi();
final PosterAddRequest posterAddRequest = ; // PosterAddRequest |
try {
final response = await api.posterAdd(posterAddRequest);
print(response);
} catch on DioError (e) {
print("Exception when calling PosterApi->posterAdd: $e\n");
}
Documentation for API Endpoints #
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
PosterApi | posterAdd | POST /api/poster | |
PosterApi | posterDelete | DELETE /api/poster/{id} | |
PosterApi | posterGet | GET /api/poster/{id} | |
PosterApi | posterList | GET /api/poster | |
PosterApi | posterUpdate | PATCH /api/poster/{id} | |
PubApi | pubAdd | POST /api/pub | |
PubApi | pubDelete | DELETE /api/pub/{id} | |
PubApi | pubGet | GET /api/pub/{id} | |
PubApi | pubList | GET /api/pub | |
PubApi | pubUpdate | PATCH /api/pub/{id} |
Documentation For Models #
Documentation For Authorization #
All endpoints do not require authorization.