Apetito Product Api Client | Coderz Product

apetito_product_api_client

Last updated:

0 purchases

apetito_product_api_client Image
apetito_product_api_client Images

Free

Languages

Categories

Add to Cart

Description:

apetito product api client

apetito Product API Client #
A client for accessing the apetito Product API.
Please note that the apetito Product API Client is unofficial and not endorsed by apetito.
Usage #
A simple usage example:
import 'package:apetito_product_api_client/apetito_product_api_client.dart';
import 'package:oauth2/oauth2.dart';

Future<void> main() async {
final client = await clientCredentialsGrant(
Uri.https('identity.apetito.co.uk', '/connect/token'),
'client_id',
'client_secret',
scopes: ['Products.Read.All'],
);

final api = ApetitoProductApiClient(
client: client,
);

for (var product in await api.productService.getProducts()) {
print(product);
}

client.close();
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.